From 53660ba2bdce294bb33bdf59ac3793455356ea08 Mon Sep 17 00:00:00 2001 From: Mostafa Kamal Date: Mon, 1 Jul 2024 02:08:33 +0600 Subject: [PATCH] doc --- README.md | 36 +++++++++++++++++++++++++++++++++++- terraform/prod/main.tf | 0 2 files changed, 35 insertions(+), 1 deletion(-) create mode 100644 terraform/prod/main.tf diff --git a/README.md b/README.md index 31e86e9..c6cd643 100644 --- a/README.md +++ b/README.md @@ -1 +1,35 @@ -# terraform-terragrunt-aws-project \ No newline at end of file +# terraform-terragrunt-aws-project + +# File structure + +```bash +terrafrom-terragrunt-aws-project +├── terragrunt.hcl +├── modules +│ ├── subnet +│ │ ├── main.tf +│ │ ├── output.tf +│ │ └── variables.tf +│ └── vpc +│ ├── main.tf +│ ├── output.tf +│ └── variables.tf +├── terraform +│ ├── common +│ │ └── common-resources.tf +│ ├── stage +│ │ ├── modules (symlink with root modules) +│ │ ├── common-*.tf (symlink with common) +│ │ ├── main.tf +│ │ └── variables.tf +│ └── prod +│ ├── modules (symlink with root modules) +│ ├── common-*.tf (symlink with common) +│ ├── main.tf +│ └── variables.tf +└── environment + ├── stage + │ └── terragrunt.hcl + └── prod + └── terragrunt.hcl +``` \ No newline at end of file diff --git a/terraform/prod/main.tf b/terraform/prod/main.tf new file mode 100644 index 0000000..e69de29