-
-
Notifications
You must be signed in to change notification settings - Fork 1.1k
Description
Describe the bug
Nested stacks (with explicit decleration) execute the same unit multiple time (see logs). Somehow it executes the unit within .terragrunt-stack as well the native.
see also closed issue #4271
Steps To Reproduce
This is my example folder, please note that i did not run generate manually nor the .terragrunt-stack folder exists before.
stacks/
├─ terragrunt.stack.hcl
├─ aws-org/
│ ├─ terragrunt.stack.hcl
│ └─ organisation/
│ └─ terragrunt.hcl
└─ tasks/
├─ terragrunt.stack.hcl
└─ account-defaults/
├─ terragrunt.stack.hcl
└─ all/
└─ terragrunt.hcl
stacks/terragrunt.stack.hcl
stack "org" {
source = "aws-org"
path = "aws-org"
}
stack "tasks" {
source = "tasks"
path = "tasks"
}stacks/tasks/terragrunt.stack.hcl
stack "task:account-defaults" {
source = "account-defaults"
path = "account-defaults"
}stacks/aws-org/terragrunt.stack.hcl
unit "org:organisation" {
source = "organisation"
path = "organisation"
}stacks/tasks/account-defaults/terragrunt.stack.hcl
unit "task:account-defaults:all" {
source = "all"
path = "all"
}stacks/tasks/account-defaults/all/terragrunt.hcl
terraform {
source = "${get_path_to_repo_root()}/modules/empty"
}stacks/aws-org/organisation/terragrunt.hcl
terraform {
source = "${get_path_to_repo_root()}/modules/empty"
}terragrunt --working-dir stacks/ stack generate
11:28:53.686 INFO Generating stack tasks from stacks/terragrunt.stack.hcl
11:28:53.686 INFO Generating stack org from stacks/terragrunt.stack.hcl
11:28:53.687 INFO Generating unit org:organisation from stacks/aws-org/terragrunt.stack.hcl
11:28:53.687 INFO Generating stack task:account-defaults from stacks/.terragrunt-stack/tasks/terragrunt.stack.hcl
11:28:53.687 INFO Generating stack task:account-defaults from stacks/tasks/terragrunt.stack.hcl
11:28:53.687 INFO Generating unit org:organisation from stacks/.terragrunt-stack/aws-org/terragrunt.stack.hcl
11:28:53.688 INFO Generating unit task:account-defaults:all from stacks/tasks/account-defaults/terragrunt.stack.hcl
11:28:53.688 INFO Generating unit task:account-defaults:all from stacks/.terragrunt-stack/tasks/.terragrunt-stack/account-defaults/terragrunt.stack.hcl
11:28:53.688 INFO Generating unit task:account-defaults:all from stacks/tasks/.terragrunt-stack/account-defaults/terragrunt.stack.hcl
11:28:53.688 INFO Generating unit task:account-defaults:all from stacks/.terragrunt-stack/tasks/account-defaults/terragrunt.stack.hcl
terragrunt --working-dir stacks/ stack run plan
Details
11:31:00.687 INFO Generating stack tasks from stacks/terragrunt.stack.hcl
11:31:00.687 INFO Generating stack org from stacks/terragrunt.stack.hcl
11:31:00.690 INFO Generating stack task:account-defaults from stacks/.terragrunt-stack/tasks/terragrunt.stack.hcl
11:31:00.690 INFO Generating stack task:account-defaults from stacks/tasks/terragrunt.stack.hcl
11:31:00.690 INFO Generating unit org:organisation from stacks/aws-org/terragrunt.stack.hcl
11:31:00.690 INFO Generating unit org:organisation from stacks/.terragrunt-stack/aws-org/terragrunt.stack.hcl
11:31:00.694 INFO Generating unit task:account-defaults:all from stacks/.terragrunt-stack/tasks/.terragrunt-stack/account-defaults/terragrunt.stack.hcl
11:31:00.694 INFO Generating unit task:account-defaults:all from stacks/tasks/.terragrunt-stack/account-defaults/terragrunt.stack.hcl
11:31:00.694 INFO Generating unit task:account-defaults:all from stacks/tasks/account-defaults/terragrunt.stack.hcl
11:31:00.694 INFO Generating unit task:account-defaults:all from stacks/.terragrunt-stack/tasks/account-defaults/terragrunt.stack.hcl
11:31:00.702 INFO Unit queue will be processed for plan in this order:
- Unit ./.terragrunt-stack/aws-org/.terragrunt-stack/organisation
- Unit ./.terragrunt-stack/aws-org/organisation
- Unit ./.terragrunt-stack/tasks/.terragrunt-stack/account-defaults/.terragrunt-stack/all
- Unit ./.terragrunt-stack/tasks/.terragrunt-stack/account-defaults/all
- Unit ./.terragrunt-stack/tasks/account-defaults/.terragrunt-stack/all
- Unit ./.terragrunt-stack/tasks/account-defaults/all
- Unit ./aws-org/organisation
- Unit ./tasks/.terragrunt-stack/account-defaults/.terragrunt-stack/all
- Unit ./tasks/account-defaults/all
11:31:00.813 INFO [.terragrunt-stack/aws-org/.terragrunt-stack/organisation] Downloading Terraform configurations from ../../../../../gitlab.com/flowers/flowers-aws-account-management/modules/empty into ./.terragrunt-stack/aws-org/.terragrunt-stack/organisation/.terragrunt-cache/XzOUWjGs1HW7fuaVjIHmIVlpPjE/QdsfgFQi-pKEcfxIv_AyceZSwts
11:31:00.816 INFO [tasks/account-defaults/all] Downloading Terraform configurations from ../../../../../gitlab.com/flowers/flowers-aws-account-management/modules/empty into ./tasks/account-defaults/all/.terragrunt-cache/hQUZ5UgGkwvFEN4kQ_3gKv3ku9c/QdsfgFQi-pKEcfxIv_AyceZSwts
11:31:00.817 INFO [aws-org/organisation] Downloading Terraform configurations from ../../../../../gitlab.com/flowers/flowers-aws-account-management/modules/empty into ./aws-org/organisation/.terragrunt-cache/sBLI9j77l8mdh-2OncyzM1LLBkk/QdsfgFQi-pKEcfxIv_AyceZSwts
11:31:00.819 INFO [.terragrunt-stack/tasks/account-defaults/.terragrunt-stack/all] Downloading Terraform configurations from ../../../../../gitlab.com/flowers/flowers-aws-account-management/modules/empty into ./.terragrunt-stack/tasks/account-defaults/.terragrunt-stack/all/.terragrunt-cache/t5jZ127lvHhWAQk02_CTaFh3TQs/QdsfgFQi-pKEcfxIv_AyceZSwts
11:31:00.820 INFO [.terragrunt-stack/tasks/account-defaults/all] Downloading Terraform configurations from ../../../../../gitlab.com/flowers/flowers-aws-account-management/modules/empty into ./.terragrunt-stack/tasks/account-defaults/all/.terragrunt-cache/Z5sb9k_5hFz5J-HWwb0LexoaFg0/QdsfgFQi-pKEcfxIv_AyceZSwts
11:31:00.821 INFO [.terragrunt-stack/aws-org/organisation] Downloading Terraform configurations from ../../../../../gitlab.com/flowers/flowers-aws-account-management/modules/empty into ./.terragrunt-stack/aws-org/organisation/.terragrunt-cache/GPZqgZaDXJ57t7x7iaKjp6pn__Q/QdsfgFQi-pKEcfxIv_AyceZSwts
11:31:00.832 INFO [.terragrunt-stack/tasks/.terragrunt-stack/account-defaults/all] Downloading Terraform configurations from ../../../../../gitlab.com/flowers/flowers-aws-account-management/modules/empty into ./.terragrunt-stack/tasks/.terragrunt-stack/account-defaults/all/.terragrunt-cache/u-ttO5SMBZcqCs83GD1C7N6XhkY/QdsfgFQi-pKEcfxIv_AyceZSwts
11:31:00.833 INFO [.terragrunt-stack/tasks/.terragrunt-stack/account-defaults/.terragrunt-stack/all] Downloading Terraform configurations from ../../../../../gitlab.com/flowers/flowers-aws-account-management/modules/empty into ./.terragrunt-stack/tasks/.terragrunt-stack/account-defaults/.terragrunt-stack/all/.terragrunt-cache/bVkWUAMgisJ96Al8AurGWzgzdhs/QdsfgFQi-pKEcfxIv_AyceZSwts
11:31:00.836 INFO [tasks/.terragrunt-stack/account-defaults/.terragrunt-stack/all] Downloading Terraform configurations from ../../../../../gitlab.com/flowers/flowers-aws-account-management/modules/empty into ./tasks/.terragrunt-stack/account-defaults/.terragrunt-stack/all/.terragrunt-cache/CBIlez4ZcJt9AEyi0rficxNJKwM/QdsfgFQi-pKEcfxIv_AyceZSwts
11:31:00.931 INFO [tasks/account-defaults/all] terraform: Initializing the backend...
11:31:00.931 INFO [tasks/account-defaults/all] terraform: Initializing provider plugins...
11:31:00.932 INFO [tasks/account-defaults/all] terraform: - Finding latest version of hashicorp/null...
11:31:00.933 INFO [.terragrunt-stack/aws-org/organisation] terraform: Initializing the backend...
11:31:00.933 INFO [aws-org/organisation] terraform: Initializing the backend...
11:31:00.933 INFO [.terragrunt-stack/aws-org/organisation] terraform: Initializing provider plugins...
11:31:00.933 INFO [.terragrunt-stack/aws-org/organisation] terraform: - Finding latest version of hashicorp/null...
11:31:00.934 INFO [aws-org/organisation] terraform: Initializing provider plugins...
11:31:00.934 INFO [aws-org/organisation] terraform: - Finding latest version of hashicorp/null...
11:31:00.934 INFO [.terragrunt-stack/aws-org/.terragrunt-stack/organisation] terraform: Initializing the backend...
11:31:00.934 INFO [.terragrunt-stack/aws-org/.terragrunt-stack/organisation] terraform: Initializing provider plugins...
11:31:00.934 INFO [.terragrunt-stack/aws-org/.terragrunt-stack/organisation] terraform: - Finding latest version of hashicorp/null...
11:31:00.943 INFO [.terragrunt-stack/tasks/account-defaults/all] terraform: Initializing the backend...
11:31:00.943 INFO [.terragrunt-stack/tasks/account-defaults/all] terraform: Initializing provider plugins...
11:31:00.943 INFO [.terragrunt-stack/tasks/account-defaults/all] terraform: - Finding latest version of hashicorp/null...
11:31:00.945 INFO [.terragrunt-stack/tasks/account-defaults/.terragrunt-stack/all] terraform: Initializing the backend...
11:31:00.945 INFO [.terragrunt-stack/tasks/account-defaults/.terragrunt-stack/all] terraform: Initializing provider plugins...
11:31:00.946 INFO [.terragrunt-stack/tasks/account-defaults/.terragrunt-stack/all] terraform: - Finding latest version of hashicorp/null...
11:31:00.952 INFO [tasks/.terragrunt-stack/account-defaults/.terragrunt-stack/all] terraform: Initializing the backend...
11:31:00.952 INFO [tasks/.terragrunt-stack/account-defaults/.terragrunt-stack/all] terraform: Initializing provider plugins...
11:31:00.953 INFO [tasks/.terragrunt-stack/account-defaults/.terragrunt-stack/all] terraform: - Finding latest version of hashicorp/null...
11:31:00.955 INFO [.terragrunt-stack/tasks/.terragrunt-stack/account-defaults/all] terraform: Initializing the backend...
11:31:00.956 INFO [.terragrunt-stack/tasks/.terragrunt-stack/account-defaults/all] terraform: Initializing provider plugins...
11:31:00.956 INFO [.terragrunt-stack/tasks/.terragrunt-stack/account-defaults/all] terraform: - Finding latest version of hashicorp/null...
11:31:00.963 INFO [.terragrunt-stack/tasks/.terragrunt-stack/account-defaults/.terragrunt-stack/all] terraform: Initializing the backend...
11:31:00.963 INFO [.terragrunt-stack/tasks/.terragrunt-stack/account-defaults/.terragrunt-stack/all] terraform: Initializing provider plugins...
11:31:00.963 INFO [.terragrunt-stack/tasks/.terragrunt-stack/account-defaults/.terragrunt-stack/all] terraform: - Finding latest version of hashicorp/null...
11:31:01.282 INFO [.terragrunt-stack/tasks/account-defaults/all] terraform: - Installing hashicorp/null v3.2.4...
11:31:01.284 INFO [tasks/.terragrunt-stack/account-defaults/.terragrunt-stack/all] terraform: - Installing hashicorp/null v3.2.4...
11:31:01.284 INFO [.terragrunt-stack/aws-org/.terragrunt-stack/organisation] terraform: - Installing hashicorp/null v3.2.4...
11:31:01.286 INFO [.terragrunt-stack/tasks/account-defaults/.terragrunt-stack/all] terraform: - Installing hashicorp/null v3.2.4...
11:31:01.293 INFO [.terragrunt-stack/tasks/.terragrunt-stack/account-defaults/.terragrunt-stack/all] terraform: - Installing hashicorp/null v3.2.4...
11:31:01.297 INFO [.terragrunt-stack/aws-org/organisation] terraform: - Installing hashicorp/null v3.2.4...
11:31:01.300 INFO [.terragrunt-stack/tasks/.terragrunt-stack/account-defaults/all] terraform: - Installing hashicorp/null v3.2.4...
11:31:01.309 INFO [aws-org/organisation] terraform: - Installing hashicorp/null v3.2.4...
11:31:01.318 INFO [tasks/account-defaults/all] terraform: - Installing hashicorp/null v3.2.4...
11:31:01.662 INFO [.terragrunt-stack/tasks/account-defaults/all] terraform: - Installed hashicorp/null v3.2.4 (signed by HashiCorp)
11:31:01.662 INFO [.terragrunt-stack/tasks/account-defaults/all] terraform: Terraform has created a lock file .terraform.lock.hcl to record the provider
11:31:01.662 INFO [.terragrunt-stack/tasks/account-defaults/all] terraform: selections it made above. Include this file in your version control repository
11:31:01.662 INFO [.terragrunt-stack/tasks/account-defaults/all] terraform: so that Terraform can guarantee to make the same selections by default when
11:31:01.662 INFO [.terragrunt-stack/tasks/account-defaults/all] terraform: you run "terraform init" in the future.
11:31:01.662 INFO [.terragrunt-stack/tasks/account-defaults/all] terraform: Terraform has been successfully initialized!
11:31:01.662 INFO [.terragrunt-stack/tasks/account-defaults/all] terraform:
11:31:01.662 INFO [.terragrunt-stack/tasks/account-defaults/all] terraform: You may now begin working with Terraform. Try running "terraform plan" to see
11:31:01.662 INFO [.terragrunt-stack/tasks/account-defaults/all] terraform: any changes that are required for your infrastructure. All Terraform commands
11:31:01.662 INFO [.terragrunt-stack/tasks/account-defaults/all] terraform: should now work.
11:31:01.662 INFO [.terragrunt-stack/tasks/account-defaults/all] terraform: If you ever set or change modules or backend configuration for Terraform,
11:31:01.662 INFO [.terragrunt-stack/tasks/account-defaults/all] terraform: rerun this command to reinitialize your working directory. If you forget, other
11:31:01.662 INFO [.terragrunt-stack/tasks/account-defaults/all] terraform: commands will detect it and remind you to do so if necessary.
11:31:01.844 STDOUT [.terragrunt-stack/tasks/account-defaults/all] terraform: Terraform used the selected providers to generate the following execution
11:31:01.844 STDOUT [.terragrunt-stack/tasks/account-defaults/all] terraform: plan. Resource actions are indicated with the following symbols:
11:31:01.844 STDOUT [.terragrunt-stack/tasks/account-defaults/all] terraform: + create
11:31:01.844 STDOUT [.terragrunt-stack/tasks/account-defaults/all] terraform: Terraform will perform the following actions:
11:31:01.844 STDOUT [.terragrunt-stack/tasks/account-defaults/all] terraform: # null_resource.name will be created
11:31:01.844 STDOUT [.terragrunt-stack/tasks/account-defaults/all] terraform: + resource "null_resource" "name" {
11:31:01.844 STDOUT [.terragrunt-stack/tasks/account-defaults/all] terraform: + id = (known after apply)
11:31:01.844 STDOUT [.terragrunt-stack/tasks/account-defaults/all] terraform: }
11:31:01.844 STDOUT [.terragrunt-stack/tasks/account-defaults/all] terraform: Plan: 1 to add, 0 to change, 0 to destroy.
11:31:01.844 STDOUT [.terragrunt-stack/tasks/account-defaults/all] terraform:
11:31:01.844 STDOUT [.terragrunt-stack/tasks/account-defaults/all] terraform: ─────────────────────────────────────────────────────────────────────────────
11:31:01.844 STDOUT [.terragrunt-stack/tasks/account-defaults/all] terraform: Note: You didn't use the -out option to save this plan, so Terraform can't
11:31:01.844 STDOUT [.terragrunt-stack/tasks/account-defaults/all] terraform: guarantee to take exactly these actions if you run "terraform apply" now.
11:31:01.923 INFO [.terragrunt-stack/tasks/account-defaults/.terragrunt-stack/all] terraform: - Installed hashicorp/null v3.2.4 (signed by HashiCorp)
11:31:01.923 INFO [.terragrunt-stack/tasks/account-defaults/.terragrunt-stack/all] terraform: Terraform has created a lock file .terraform.lock.hcl to record the provider
11:31:01.923 INFO [.terragrunt-stack/tasks/account-defaults/.terragrunt-stack/all] terraform: selections it made above. Include this file in your version control repository
11:31:01.923 INFO [.terragrunt-stack/tasks/account-defaults/.terragrunt-stack/all] terraform: so that Terraform can guarantee to make the same selections by default when
11:31:01.923 INFO [.terragrunt-stack/tasks/account-defaults/.terragrunt-stack/all] terraform: you run "terraform init" in the future.
11:31:01.924 INFO [.terragrunt-stack/tasks/account-defaults/.terragrunt-stack/all] terraform: Terraform has been successfully initialized!
11:31:01.924 INFO [.terragrunt-stack/tasks/account-defaults/.terragrunt-stack/all] terraform:
11:31:01.924 INFO [.terragrunt-stack/tasks/account-defaults/.terragrunt-stack/all] terraform: You may now begin working with Terraform. Try running "terraform plan" to see
11:31:01.924 INFO [.terragrunt-stack/tasks/account-defaults/.terragrunt-stack/all] terraform: any changes that are required for your infrastructure. All Terraform commands
11:31:01.924 INFO [.terragrunt-stack/tasks/account-defaults/.terragrunt-stack/all] terraform: should now work.
11:31:01.924 INFO [.terragrunt-stack/tasks/account-defaults/.terragrunt-stack/all] terraform: If you ever set or change modules or backend configuration for Terraform,
11:31:01.924 INFO [.terragrunt-stack/tasks/account-defaults/.terragrunt-stack/all] terraform: rerun this command to reinitialize your working directory. If you forget, other
11:31:01.924 INFO [.terragrunt-stack/tasks/account-defaults/.terragrunt-stack/all] terraform: commands will detect it and remind you to do so if necessary.
11:31:01.924 INFO [.terragrunt-stack/tasks/.terragrunt-stack/account-defaults/.terragrunt-stack/all] terraform: - Installed hashicorp/null v3.2.4 (signed by HashiCorp)
11:31:01.924 INFO [.terragrunt-stack/tasks/.terragrunt-stack/account-defaults/.terragrunt-stack/all] terraform: Terraform has created a lock file .terraform.lock.hcl to record the provider
11:31:01.924 INFO [.terragrunt-stack/tasks/.terragrunt-stack/account-defaults/.terragrunt-stack/all] terraform: selections it made above. Include this file in your version control repository
11:31:01.924 INFO [.terragrunt-stack/tasks/.terragrunt-stack/account-defaults/.terragrunt-stack/all] terraform: so that Terraform can guarantee to make the same selections by default when
11:31:01.925 INFO [.terragrunt-stack/tasks/.terragrunt-stack/account-defaults/.terragrunt-stack/all] terraform: you run "terraform init" in the future.
11:31:01.925 INFO [.terragrunt-stack/tasks/.terragrunt-stack/account-defaults/.terragrunt-stack/all] terraform: Terraform has been successfully initialized!
11:31:01.925 INFO [.terragrunt-stack/tasks/.terragrunt-stack/account-defaults/.terragrunt-stack/all] terraform:
11:31:01.925 INFO [.terragrunt-stack/tasks/.terragrunt-stack/account-defaults/.terragrunt-stack/all] terraform: You may now begin working with Terraform. Try running "terraform plan" to see
11:31:01.925 INFO [.terragrunt-stack/tasks/.terragrunt-stack/account-defaults/.terragrunt-stack/all] terraform: any changes that are required for your infrastructure. All Terraform commands
11:31:01.925 INFO [.terragrunt-stack/tasks/.terragrunt-stack/account-defaults/.terragrunt-stack/all] terraform: should now work.
11:31:01.925 INFO [.terragrunt-stack/tasks/.terragrunt-stack/account-defaults/.terragrunt-stack/all] terraform: If you ever set or change modules or backend configuration for Terraform,
11:31:01.925 INFO [.terragrunt-stack/tasks/.terragrunt-stack/account-defaults/.terragrunt-stack/all] terraform: rerun this command to reinitialize your working directory. If you forget, other
11:31:01.925 INFO [.terragrunt-stack/tasks/.terragrunt-stack/account-defaults/.terragrunt-stack/all] terraform: commands will detect it and remind you to do so if necessary.
11:31:02.062 INFO [.terragrunt-stack/aws-org/.terragrunt-stack/organisation] terraform: - Installed hashicorp/null v3.2.4 (signed by HashiCorp)
11:31:02.062 INFO [.terragrunt-stack/aws-org/.terragrunt-stack/organisation] terraform: Terraform has created a lock file .terraform.lock.hcl to record the provider
11:31:02.062 INFO [.terragrunt-stack/aws-org/.terragrunt-stack/organisation] terraform: selections it made above. Include this file in your version control repository
11:31:02.062 INFO [.terragrunt-stack/aws-org/.terragrunt-stack/organisation] terraform: so that Terraform can guarantee to make the same selections by default when
11:31:02.062 INFO [.terragrunt-stack/aws-org/.terragrunt-stack/organisation] terraform: you run "terraform init" in the future.
11:31:02.062 INFO [.terragrunt-stack/aws-org/.terragrunt-stack/organisation] terraform: Terraform has been successfully initialized!
11:31:02.063 INFO [.terragrunt-stack/aws-org/.terragrunt-stack/organisation] terraform:
11:31:02.063 INFO [.terragrunt-stack/aws-org/.terragrunt-stack/organisation] terraform: You may now begin working with Terraform. Try running "terraform plan" to see
11:31:02.063 INFO [.terragrunt-stack/aws-org/.terragrunt-stack/organisation] terraform: any changes that are required for your infrastructure. All Terraform commands
11:31:02.063 INFO [.terragrunt-stack/aws-org/.terragrunt-stack/organisation] terraform: should now work.
11:31:02.063 INFO [.terragrunt-stack/aws-org/.terragrunt-stack/organisation] terraform: If you ever set or change modules or backend configuration for Terraform,
11:31:02.063 INFO [.terragrunt-stack/aws-org/.terragrunt-stack/organisation] terraform: rerun this command to reinitialize your working directory. If you forget, other
11:31:02.063 INFO [.terragrunt-stack/aws-org/.terragrunt-stack/organisation] terraform: commands will detect it and remind you to do so if necessary.
11:31:02.110 STDOUT [.terragrunt-stack/tasks/account-defaults/.terragrunt-stack/all] terraform: Terraform used the selected providers to generate the following execution
11:31:02.110 STDOUT [.terragrunt-stack/tasks/account-defaults/.terragrunt-stack/all] terraform: plan. Resource actions are indicated with the following symbols:
11:31:02.110 STDOUT [.terragrunt-stack/tasks/account-defaults/.terragrunt-stack/all] terraform: + create
11:31:02.110 STDOUT [.terragrunt-stack/tasks/account-defaults/.terragrunt-stack/all] terraform: Terraform will perform the following actions:
11:31:02.110 STDOUT [.terragrunt-stack/tasks/account-defaults/.terragrunt-stack/all] terraform: # null_resource.name will be created
11:31:02.110 STDOUT [.terragrunt-stack/tasks/account-defaults/.terragrunt-stack/all] terraform: + resource "null_resource" "name" {
11:31:02.110 STDOUT [.terragrunt-stack/tasks/account-defaults/.terragrunt-stack/all] terraform: + id = (known after apply)
11:31:02.110 STDOUT [.terragrunt-stack/tasks/account-defaults/.terragrunt-stack/all] terraform: }
11:31:02.110 STDOUT [.terragrunt-stack/tasks/account-defaults/.terragrunt-stack/all] terraform: Plan: 1 to add, 0 to change, 0 to destroy.
11:31:02.110 STDOUT [.terragrunt-stack/tasks/account-defaults/.terragrunt-stack/all] terraform:
11:31:02.110 STDOUT [.terragrunt-stack/tasks/account-defaults/.terragrunt-stack/all] terraform: ─────────────────────────────────────────────────────────────────────────────
11:31:02.110 STDOUT [.terragrunt-stack/tasks/account-defaults/.terragrunt-stack/all] terraform: Note: You didn't use the -out option to save this plan, so Terraform can't
11:31:02.110 STDOUT [.terragrunt-stack/tasks/account-defaults/.terragrunt-stack/all] terraform: guarantee to take exactly these actions if you run "terraform apply" now.
11:31:02.110 STDOUT [.terragrunt-stack/tasks/.terragrunt-stack/account-defaults/.terragrunt-stack/all] terraform: Terraform used the selected providers to generate the following execution
11:31:02.111 STDOUT [.terragrunt-stack/tasks/.terragrunt-stack/account-defaults/.terragrunt-stack/all] terraform: plan. Resource actions are indicated with the following symbols:
11:31:02.111 STDOUT [.terragrunt-stack/tasks/.terragrunt-stack/account-defaults/.terragrunt-stack/all] terraform: + create
11:31:02.111 STDOUT [.terragrunt-stack/tasks/.terragrunt-stack/account-defaults/.terragrunt-stack/all] terraform: Terraform will perform the following actions:
11:31:02.111 STDOUT [.terragrunt-stack/tasks/.terragrunt-stack/account-defaults/.terragrunt-stack/all] terraform: # null_resource.name will be created
11:31:02.111 STDOUT [.terragrunt-stack/tasks/.terragrunt-stack/account-defaults/.terragrunt-stack/all] terraform: + resource "null_resource" "name" {
11:31:02.111 STDOUT [.terragrunt-stack/tasks/.terragrunt-stack/account-defaults/.terragrunt-stack/all] terraform: + id = (known after apply)
11:31:02.111 STDOUT [.terragrunt-stack/tasks/.terragrunt-stack/account-defaults/.terragrunt-stack/all] terraform: }
11:31:02.111 STDOUT [.terragrunt-stack/tasks/.terragrunt-stack/account-defaults/.terragrunt-stack/all] terraform: Plan: 1 to add, 0 to change, 0 to destroy.
11:31:02.111 STDOUT [.terragrunt-stack/tasks/.terragrunt-stack/account-defaults/.terragrunt-stack/all] terraform:
11:31:02.111 STDOUT [.terragrunt-stack/tasks/.terragrunt-stack/account-defaults/.terragrunt-stack/all] terraform: ─────────────────────────────────────────────────────────────────────────────
11:31:02.111 STDOUT [.terragrunt-stack/tasks/.terragrunt-stack/account-defaults/.terragrunt-stack/all] terraform: Note: You didn't use the -out option to save this plan, so Terraform can't
11:31:02.111 STDOUT [.terragrunt-stack/tasks/.terragrunt-stack/account-defaults/.terragrunt-stack/all] terraform: guarantee to take exactly these actions if you run "terraform apply" now.
11:31:02.211 INFO [tasks/.terragrunt-stack/account-defaults/.terragrunt-stack/all] terraform: - Installed hashicorp/null v3.2.4 (signed by HashiCorp)
11:31:02.211 INFO [tasks/.terragrunt-stack/account-defaults/.terragrunt-stack/all] terraform: Terraform has created a lock file .terraform.lock.hcl to record the provider
11:31:02.211 INFO [tasks/.terragrunt-stack/account-defaults/.terragrunt-stack/all] terraform: selections it made above. Include this file in your version control repository
11:31:02.211 INFO [tasks/.terragrunt-stack/account-defaults/.terragrunt-stack/all] terraform: so that Terraform can guarantee to make the same selections by default when
11:31:02.212 INFO [tasks/.terragrunt-stack/account-defaults/.terragrunt-stack/all] terraform: you run "terraform init" in the future.
11:31:02.212 INFO [tasks/.terragrunt-stack/account-defaults/.terragrunt-stack/all] terraform: Terraform has been successfully initialized!
11:31:02.212 INFO [tasks/.terragrunt-stack/account-defaults/.terragrunt-stack/all] terraform:
11:31:02.212 INFO [tasks/.terragrunt-stack/account-defaults/.terragrunt-stack/all] terraform: You may now begin working with Terraform. Try running "terraform plan" to see
11:31:02.212 INFO [tasks/.terragrunt-stack/account-defaults/.terragrunt-stack/all] terraform: any changes that are required for your infrastructure. All Terraform commands
11:31:02.212 INFO [tasks/.terragrunt-stack/account-defaults/.terragrunt-stack/all] terraform: should now work.
11:31:02.212 INFO [tasks/.terragrunt-stack/account-defaults/.terragrunt-stack/all] terraform: If you ever set or change modules or backend configuration for Terraform,
11:31:02.212 INFO [tasks/.terragrunt-stack/account-defaults/.terragrunt-stack/all] terraform: rerun this command to reinitialize your working directory. If you forget, other
11:31:02.212 INFO [tasks/.terragrunt-stack/account-defaults/.terragrunt-stack/all] terraform: commands will detect it and remind you to do so if necessary.
11:31:02.264 INFO [.terragrunt-stack/aws-org/organisation] terraform: - Installed hashicorp/null v3.2.4 (signed by HashiCorp)
11:31:02.264 INFO [.terragrunt-stack/aws-org/organisation] terraform: Terraform has created a lock file .terraform.lock.hcl to record the provider
11:31:02.264 INFO [.terragrunt-stack/aws-org/organisation] terraform: selections it made above. Include this file in your version control repository
11:31:02.264 INFO [.terragrunt-stack/aws-org/organisation] terraform: so that Terraform can guarantee to make the same selections by default when
11:31:02.264 INFO [.terragrunt-stack/aws-org/organisation] terraform: you run "terraform init" in the future.
11:31:02.264 INFO [.terragrunt-stack/aws-org/organisation] terraform: Terraform has been successfully initialized!
11:31:02.264 INFO [.terragrunt-stack/aws-org/organisation] terraform:
11:31:02.264 INFO [.terragrunt-stack/aws-org/organisation] terraform: You may now begin working with Terraform. Try running "terraform plan" to see
11:31:02.264 INFO [.terragrunt-stack/aws-org/organisation] terraform: any changes that are required for your infrastructure. All Terraform commands
11:31:02.264 INFO [.terragrunt-stack/aws-org/organisation] terraform: should now work.
11:31:02.264 INFO [.terragrunt-stack/aws-org/organisation] terraform: If you ever set or change modules or backend configuration for Terraform,
11:31:02.264 INFO [.terragrunt-stack/aws-org/organisation] terraform: rerun this command to reinitialize your working directory. If you forget, other
11:31:02.264 INFO [.terragrunt-stack/aws-org/organisation] terraform: commands will detect it and remind you to do so if necessary.
11:31:02.264 STDOUT [.terragrunt-stack/aws-org/.terragrunt-stack/organisation] terraform: Terraform used the selected providers to generate the following execution
11:31:02.264 STDOUT [.terragrunt-stack/aws-org/.terragrunt-stack/organisation] terraform: plan. Resource actions are indicated with the following symbols:
11:31:02.264 STDOUT [.terragrunt-stack/aws-org/.terragrunt-stack/organisation] terraform: + create
11:31:02.264 STDOUT [.terragrunt-stack/aws-org/.terragrunt-stack/organisation] terraform: Terraform will perform the following actions:
11:31:02.264 STDOUT [.terragrunt-stack/aws-org/.terragrunt-stack/organisation] terraform: # null_resource.name will be created
11:31:02.265 STDOUT [.terragrunt-stack/aws-org/.terragrunt-stack/organisation] terraform: + resource "null_resource" "name" {
11:31:02.265 STDOUT [.terragrunt-stack/aws-org/.terragrunt-stack/organisation] terraform: + id = (known after apply)
11:31:02.265 STDOUT [.terragrunt-stack/aws-org/.terragrunt-stack/organisation] terraform: }
11:31:02.265 STDOUT [.terragrunt-stack/aws-org/.terragrunt-stack/organisation] terraform: Plan: 1 to add, 0 to change, 0 to destroy.
11:31:02.265 STDOUT [.terragrunt-stack/aws-org/.terragrunt-stack/organisation] terraform:
11:31:02.265 STDOUT [.terragrunt-stack/aws-org/.terragrunt-stack/organisation] terraform: ─────────────────────────────────────────────────────────────────────────────
11:31:02.265 STDOUT [.terragrunt-stack/aws-org/.terragrunt-stack/organisation] terraform: Note: You didn't use the -out option to save this plan, so Terraform can't
11:31:02.265 STDOUT [.terragrunt-stack/aws-org/.terragrunt-stack/organisation] terraform: guarantee to take exactly these actions if you run "terraform apply" now.
11:31:02.269 INFO [.terragrunt-stack/tasks/.terragrunt-stack/account-defaults/all] terraform: - Installed hashicorp/null v3.2.4 (signed by HashiCorp)
11:31:02.269 INFO [.terragrunt-stack/tasks/.terragrunt-stack/account-defaults/all] terraform: Terraform has created a lock file .terraform.lock.hcl to record the provider
11:31:02.269 INFO [.terragrunt-stack/tasks/.terragrunt-stack/account-defaults/all] terraform: selections it made above. Include this file in your version control repository
11:31:02.269 INFO [.terragrunt-stack/tasks/.terragrunt-stack/account-defaults/all] terraform: so that Terraform can guarantee to make the same selections by default when
11:31:02.269 INFO [.terragrunt-stack/tasks/.terragrunt-stack/account-defaults/all] terraform: you run "terraform init" in the future.
11:31:02.269 INFO [.terragrunt-stack/tasks/.terragrunt-stack/account-defaults/all] terraform: Terraform has been successfully initialized!
11:31:02.269 INFO [.terragrunt-stack/tasks/.terragrunt-stack/account-defaults/all] terraform:
11:31:02.270 INFO [.terragrunt-stack/tasks/.terragrunt-stack/account-defaults/all] terraform: You may now begin working with Terraform. Try running "terraform plan" to see
11:31:02.270 INFO [.terragrunt-stack/tasks/.terragrunt-stack/account-defaults/all] terraform: any changes that are required for your infrastructure. All Terraform commands
11:31:02.270 INFO [.terragrunt-stack/tasks/.terragrunt-stack/account-defaults/all] terraform: should now work.
11:31:02.270 INFO [.terragrunt-stack/tasks/.terragrunt-stack/account-defaults/all] terraform: If you ever set or change modules or backend configuration for Terraform,
11:31:02.270 INFO [.terragrunt-stack/tasks/.terragrunt-stack/account-defaults/all] terraform: rerun this command to reinitialize your working directory. If you forget, other
11:31:02.270 INFO [.terragrunt-stack/tasks/.terragrunt-stack/account-defaults/all] terraform: commands will detect it and remind you to do so if necessary.
11:31:02.270 INFO [aws-org/organisation] terraform: - Installed hashicorp/null v3.2.4 (signed by HashiCorp)
11:31:02.271 INFO [aws-org/organisation] terraform: Terraform has created a lock file .terraform.lock.hcl to record the provider
11:31:02.271 INFO [aws-org/organisation] terraform: selections it made above. Include this file in your version control repository
11:31:02.271 INFO [aws-org/organisation] terraform: so that Terraform can guarantee to make the same selections by default when
11:31:02.271 INFO [aws-org/organisation] terraform: you run "terraform init" in the future.
11:31:02.271 INFO [aws-org/organisation] terraform: Terraform has been successfully initialized!
11:31:02.271 INFO [aws-org/organisation] terraform:
11:31:02.271 INFO [aws-org/organisation] terraform: You may now begin working with Terraform. Try running "terraform plan" to see
11:31:02.271 INFO [aws-org/organisation] terraform: any changes that are required for your infrastructure. All Terraform commands
11:31:02.271 INFO [aws-org/organisation] terraform: should now work.
11:31:02.271 INFO [aws-org/organisation] terraform: If you ever set or change modules or backend configuration for Terraform,
11:31:02.271 INFO [aws-org/organisation] terraform: rerun this command to reinitialize your working directory. If you forget, other
11:31:02.272 INFO [aws-org/organisation] terraform: commands will detect it and remind you to do so if necessary.
11:31:02.279 INFO [tasks/account-defaults/all] terraform: - Installed hashicorp/null v3.2.4 (signed by HashiCorp)
11:31:02.279 INFO [tasks/account-defaults/all] terraform: Terraform has created a lock file .terraform.lock.hcl to record the provider
11:31:02.279 INFO [tasks/account-defaults/all] terraform: selections it made above. Include this file in your version control repository
11:31:02.279 INFO [tasks/account-defaults/all] terraform: so that Terraform can guarantee to make the same selections by default when
11:31:02.279 INFO [tasks/account-defaults/all] terraform: you run "terraform init" in the future.
11:31:02.279 INFO [tasks/account-defaults/all] terraform: Terraform has been successfully initialized!
11:31:02.279 INFO [tasks/account-defaults/all] terraform:
11:31:02.279 INFO [tasks/account-defaults/all] terraform: You may now begin working with Terraform. Try running "terraform plan" to see
11:31:02.279 INFO [tasks/account-defaults/all] terraform: any changes that are required for your infrastructure. All Terraform commands
11:31:02.279 INFO [tasks/account-defaults/all] terraform: should now work.
11:31:02.279 INFO [tasks/account-defaults/all] terraform: If you ever set or change modules or backend configuration for Terraform,
11:31:02.279 INFO [tasks/account-defaults/all] terraform: rerun this command to reinitialize your working directory. If you forget, other
11:31:02.279 INFO [tasks/account-defaults/all] terraform: commands will detect it and remind you to do so if necessary.
11:31:02.419 STDOUT [tasks/.terragrunt-stack/account-defaults/.terragrunt-stack/all] terraform: Terraform used the selected providers to generate the following execution
11:31:02.420 STDOUT [tasks/.terragrunt-stack/account-defaults/.terragrunt-stack/all] terraform: plan. Resource actions are indicated with the following symbols:
11:31:02.420 STDOUT [tasks/.terragrunt-stack/account-defaults/.terragrunt-stack/all] terraform: + create
11:31:02.420 STDOUT [tasks/.terragrunt-stack/account-defaults/.terragrunt-stack/all] terraform: Terraform will perform the following actions:
11:31:02.420 STDOUT [tasks/.terragrunt-stack/account-defaults/.terragrunt-stack/all] terraform: # null_resource.name will be created
11:31:02.420 STDOUT [tasks/.terragrunt-stack/account-defaults/.terragrunt-stack/all] terraform: + resource "null_resource" "name" {
11:31:02.420 STDOUT [tasks/.terragrunt-stack/account-defaults/.terragrunt-stack/all] terraform: + id = (known after apply)
11:31:02.420 STDOUT [tasks/.terragrunt-stack/account-defaults/.terragrunt-stack/all] terraform: }
11:31:02.420 STDOUT [tasks/.terragrunt-stack/account-defaults/.terragrunt-stack/all] terraform: Plan: 1 to add, 0 to change, 0 to destroy.
11:31:02.420 STDOUT [tasks/.terragrunt-stack/account-defaults/.terragrunt-stack/all] terraform:
11:31:02.420 STDOUT [tasks/.terragrunt-stack/account-defaults/.terragrunt-stack/all] terraform: ─────────────────────────────────────────────────────────────────────────────
11:31:02.420 STDOUT [tasks/.terragrunt-stack/account-defaults/.terragrunt-stack/all] terraform: Note: You didn't use the -out option to save this plan, so Terraform can't
11:31:02.420 STDOUT [tasks/.terragrunt-stack/account-defaults/.terragrunt-stack/all] terraform: guarantee to take exactly these actions if you run "terraform apply" now.
11:31:02.455 STDOUT [.terragrunt-stack/aws-org/organisation] terraform: Terraform used the selected providers to generate the following execution
11:31:02.455 STDOUT [.terragrunt-stack/aws-org/organisation] terraform: plan. Resource actions are indicated with the following symbols:
11:31:02.455 STDOUT [.terragrunt-stack/aws-org/organisation] terraform: + create
11:31:02.456 STDOUT [.terragrunt-stack/aws-org/organisation] terraform: Terraform will perform the following actions:
11:31:02.456 STDOUT [.terragrunt-stack/aws-org/organisation] terraform: # null_resource.name will be created
11:31:02.456 STDOUT [.terragrunt-stack/aws-org/organisation] terraform: + resource "null_resource" "name" {
11:31:02.456 STDOUT [.terragrunt-stack/aws-org/organisation] terraform: + id = (known after apply)
11:31:02.456 STDOUT [.terragrunt-stack/aws-org/organisation] terraform: }
11:31:02.456 STDOUT [.terragrunt-stack/aws-org/organisation] terraform: Plan: 1 to add, 0 to change, 0 to destroy.
11:31:02.456 STDOUT [.terragrunt-stack/aws-org/organisation] terraform:
11:31:02.456 STDOUT [.terragrunt-stack/aws-org/organisation] terraform: ─────────────────────────────────────────────────────────────────────────────
11:31:02.456 STDOUT [.terragrunt-stack/aws-org/organisation] terraform: Note: You didn't use the -out option to save this plan, so Terraform can't
11:31:02.456 STDOUT [.terragrunt-stack/aws-org/organisation] terraform: guarantee to take exactly these actions if you run "terraform apply" now.
11:31:02.456 STDOUT [aws-org/organisation] terraform: Terraform used the selected providers to generate the following execution
11:31:02.457 STDOUT [aws-org/organisation] terraform: plan. Resource actions are indicated with the following symbols:
11:31:02.457 STDOUT [aws-org/organisation] terraform: + create
11:31:02.457 STDOUT [aws-org/organisation] terraform: Terraform will perform the following actions:
11:31:02.457 STDOUT [aws-org/organisation] terraform: # null_resource.name will be created
11:31:02.457 STDOUT [aws-org/organisation] terraform: + resource "null_resource" "name" {
11:31:02.457 STDOUT [aws-org/organisation] terraform: + id = (known after apply)
11:31:02.457 STDOUT [aws-org/organisation] terraform: }
11:31:02.457 STDOUT [aws-org/organisation] terraform: Plan: 1 to add, 0 to change, 0 to destroy.
11:31:02.457 STDOUT [aws-org/organisation] terraform:
11:31:02.457 STDOUT [aws-org/organisation] terraform: ─────────────────────────────────────────────────────────────────────────────
11:31:02.457 STDOUT [aws-org/organisation] terraform: Note: You didn't use the -out option to save this plan, so Terraform can't
11:31:02.457 STDOUT [aws-org/organisation] terraform: guarantee to take exactly these actions if you run "terraform apply" now.
11:31:02.474 STDOUT [.terragrunt-stack/tasks/.terragrunt-stack/account-defaults/all] terraform: Terraform used the selected providers to generate the following execution
11:31:02.474 STDOUT [.terragrunt-stack/tasks/.terragrunt-stack/account-defaults/all] terraform: plan. Resource actions are indicated with the following symbols:
11:31:02.474 STDOUT [.terragrunt-stack/tasks/.terragrunt-stack/account-defaults/all] terraform: + create
11:31:02.474 STDOUT [.terragrunt-stack/tasks/.terragrunt-stack/account-defaults/all] terraform: Terraform will perform the following actions:
11:31:02.474 STDOUT [.terragrunt-stack/tasks/.terragrunt-stack/account-defaults/all] terraform: # null_resource.name will be created
11:31:02.474 STDOUT [.terragrunt-stack/tasks/.terragrunt-stack/account-defaults/all] terraform: + resource "null_resource" "name" {
11:31:02.474 STDOUT [.terragrunt-stack/tasks/.terragrunt-stack/account-defaults/all] terraform: + id = (known after apply)
11:31:02.474 STDOUT [.terragrunt-stack/tasks/.terragrunt-stack/account-defaults/all] terraform: }
11:31:02.474 STDOUT [.terragrunt-stack/tasks/.terragrunt-stack/account-defaults/all] terraform: Plan: 1 to add, 0 to change, 0 to destroy.
11:31:02.475 STDOUT [.terragrunt-stack/tasks/.terragrunt-stack/account-defaults/all] terraform:
11:31:02.475 STDOUT [.terragrunt-stack/tasks/.terragrunt-stack/account-defaults/all] terraform: ─────────────────────────────────────────────────────────────────────────────
11:31:02.475 STDOUT [.terragrunt-stack/tasks/.terragrunt-stack/account-defaults/all] terraform: Note: You didn't use the -out option to save this plan, so Terraform can't
11:31:02.475 STDOUT [.terragrunt-stack/tasks/.terragrunt-stack/account-defaults/all] terraform: guarantee to take exactly these actions if you run "terraform apply" now.
11:31:02.479 STDOUT [tasks/account-defaults/all] terraform: Terraform used the selected providers to generate the following execution
11:31:02.479 STDOUT [tasks/account-defaults/all] terraform: plan. Resource actions are indicated with the following symbols:
11:31:02.479 STDOUT [tasks/account-defaults/all] terraform: + create
11:31:02.479 STDOUT [tasks/account-defaults/all] terraform: Terraform will perform the following actions:
11:31:02.479 STDOUT [tasks/account-defaults/all] terraform: # null_resource.name will be created
11:31:02.479 STDOUT [tasks/account-defaults/all] terraform: + resource "null_resource" "name" {
11:31:02.479 STDOUT [tasks/account-defaults/all] terraform: + id = (known after apply)
11:31:02.479 STDOUT [tasks/account-defaults/all] terraform: }
11:31:02.479 STDOUT [tasks/account-defaults/all] terraform: Plan: 1 to add, 0 to change, 0 to destroy.
11:31:02.479 STDOUT [tasks/account-defaults/all] terraform:
11:31:02.479 STDOUT [tasks/account-defaults/all] terraform: ─────────────────────────────────────────────────────────────────────────────
11:31:02.479 STDOUT [tasks/account-defaults/all] terraform: Note: You didn't use the -out option to save this plan, so Terraform can't
11:31:02.479 STDOUT [tasks/account-defaults/all] terraform: guarantee to take exactly these actions if you run "terraform apply" now.
Must haves
- Steps for reproduction provided.
Nice to haves
- Terminal output
- Screenshots
Versions
- Terragrunt version: 0.90.13
- OpenTofu/Terraform version: n/a
- Environment details (Ubuntu 20.04, Windows 10, etc.): linux
Additional context
Add any other context about the problem here.