---
title: "Discussion on \"Using modules in Terraform and managing the state of infrastructure\" | Hashnode"
description: "Discussion on \"Using modules in Terraform and managing the state of infrastructure\". Purpose of using modules in Terraform -\nAs per Terraform documentation, Modules are containers for multiple resources that are used together. A module consists of a collection of .tf files kept together in a directory.\nModules are the main way to pac..."
url: "https://hashnode.com/posts/using-modules-in-terraform-and-managing-the-state-of-infrastructure/64ecf52c7ecdfa59e315253d"
---

[Feed](https://hashnode.com/feed) /

Discussion

# [Using modules in Terraform and managing the state of infrastructure](https://amana6420.hashnode.dev/using-modules-in-terraform-and-managing-the-state-of-infrastructure?utm_source=hashnode&utm_medium=feed)

Purpose of using modules in Terraform - As per Terraform documentation, Modules are containers for multiple resources that are used together. A module consists of a collection of .tf files kept together in a directory. Modules are the main way to pac...

Aug 28, 2023 · 3 min read · amana6420.hashnode.dev  
Read the article

-   [#terraform](https://hashnode.com/tag/terraform)
-   [#aws](https://hashnode.com/tag/aws)
-   [#terraform-module](https://hashnode.com/tag/terraform-module)
-   [#modules](https://hashnode.com/tag/modules)

## Written by

[Aman Awasthi](https://hashnode.com/@AmanAwasthi)

@AmanAwasthi

  
[View profile](https://hashnode.com/@AmanAwasthi)

DevOps Engineer

## Responses 1

Markdown supported · ⌘↵ to post

[udaykumar m](https://hashnode.com/@Udaynbklion)

[Oct 4, 2023](https://hashnode.com/posts/using-modules-in-terraform-and-managing-the-state-of-infrastructure/64ecf52c7ecdfa59e315253d/comment/651cbb7cc64d5e995959ff61)

Hello what about you day 3 to day 15 pages could you pls help me with that

[Oct 4, 2023](https://hashnode.com/posts/using-modules-in-terraform-and-managing-the-state-of-infrastructure/64ecf52c7ecdfa59e315253d/comment/651cbb7cc64d5e995959ff61#reply-651d467ff561999bd60fa757)

I had not written any blogs on hashcode for the first 15 days.
