diff --git a/templates/templates/component/terraform/terragrunt.hcl.tmpl b/templates/templates/component/terraform/terragrunt.hcl.tmpl index 04d4a70fe..8d22b3410 100644 --- a/templates/templates/component/terraform/terragrunt.hcl.tmpl +++ b/templates/templates/component/terraform/terragrunt.hcl.tmpl @@ -1,11 +1,21 @@ -{{ $outer := . }} +{{ $outer := . -}} dependencies { paths = [ -{{ range $component, $backend := .ComponentBackends -}} -{{ if ne $component $outer.Name}} "../{{$component}}", +{{ if avail "Env" . -}} + {{ if eq .Env "accounts" -}} + {{ range $name, $backend := .AccountBackends -}} + {{- if ne $name $outer.Name }} "../{{$name}}", {{ end -}} +{{- end -}} +{{- else if eq .Env "" -}} +{{- else -}} +{{- range $component, $backend := .ComponentBackends -}} + {{- if ne $component $outer.Name }} "../{{$component}}", +{{ end -}} +{{- end -}} +{{- range $name, $backend := .AccountBackends}} "../../../accounts/{{$name}}", {{ end -}} -{{ range $name, $backend := .AccountBackends}} "../../../accounts/{{$name}}", -{{ end }} ] +{{- end -}} +{{- end }} ] } \ No newline at end of file diff --git a/testdata/auth0_provider_yaml/terraform/accounts/foo/terragrunt.hcl b/testdata/auth0_provider_yaml/terraform/accounts/foo/terragrunt.hcl index 0d6c91ad3..3af9d8af7 100644 --- a/testdata/auth0_provider_yaml/terraform/accounts/foo/terragrunt.hcl +++ b/testdata/auth0_provider_yaml/terraform/accounts/foo/terragrunt.hcl @@ -1,7 +1,4 @@ - - dependencies { paths = [ - "../../../accounts/foo", ] } \ No newline at end of file diff --git a/testdata/auth0_provider_yaml/terraform/envs/bar/bam/terragrunt.hcl b/testdata/auth0_provider_yaml/terraform/envs/bar/bam/terragrunt.hcl index 0d6c91ad3..c121afc3e 100644 --- a/testdata/auth0_provider_yaml/terraform/envs/bar/bam/terragrunt.hcl +++ b/testdata/auth0_provider_yaml/terraform/envs/bar/bam/terragrunt.hcl @@ -1,5 +1,3 @@ - - dependencies { paths = [ "../../../accounts/foo", diff --git a/testdata/auth0_provider_yaml/terraform/global/terragrunt.hcl b/testdata/auth0_provider_yaml/terraform/global/terragrunt.hcl index 9a00856ae..3af9d8af7 100644 --- a/testdata/auth0_provider_yaml/terraform/global/terragrunt.hcl +++ b/testdata/auth0_provider_yaml/terraform/global/terragrunt.hcl @@ -1,5 +1,3 @@ - - dependencies { paths = [ ] diff --git a/testdata/bless_provider_yaml/terraform/accounts/foo/terragrunt.hcl b/testdata/bless_provider_yaml/terraform/accounts/foo/terragrunt.hcl index 0d6c91ad3..3af9d8af7 100644 --- a/testdata/bless_provider_yaml/terraform/accounts/foo/terragrunt.hcl +++ b/testdata/bless_provider_yaml/terraform/accounts/foo/terragrunt.hcl @@ -1,7 +1,4 @@ - - dependencies { paths = [ - "../../../accounts/foo", ] } \ No newline at end of file diff --git a/testdata/bless_provider_yaml/terraform/envs/bar/bam/terragrunt.hcl b/testdata/bless_provider_yaml/terraform/envs/bar/bam/terragrunt.hcl index 0d6c91ad3..c121afc3e 100644 --- a/testdata/bless_provider_yaml/terraform/envs/bar/bam/terragrunt.hcl +++ b/testdata/bless_provider_yaml/terraform/envs/bar/bam/terragrunt.hcl @@ -1,5 +1,3 @@ - - dependencies { paths = [ "../../../accounts/foo", diff --git a/testdata/bless_provider_yaml/terraform/global/terragrunt.hcl b/testdata/bless_provider_yaml/terraform/global/terragrunt.hcl index 9a00856ae..3af9d8af7 100644 --- a/testdata/bless_provider_yaml/terraform/global/terragrunt.hcl +++ b/testdata/bless_provider_yaml/terraform/global/terragrunt.hcl @@ -1,5 +1,3 @@ - - dependencies { paths = [ ] diff --git a/testdata/circleci/terraform/global/terragrunt.hcl b/testdata/circleci/terraform/global/terragrunt.hcl index 9a00856ae..3af9d8af7 100644 --- a/testdata/circleci/terraform/global/terragrunt.hcl +++ b/testdata/circleci/terraform/global/terragrunt.hcl @@ -1,5 +1,3 @@ - - dependencies { paths = [ ] diff --git a/testdata/github_actions/terraform/global/terragrunt.hcl b/testdata/github_actions/terraform/global/terragrunt.hcl index 9a00856ae..3af9d8af7 100644 --- a/testdata/github_actions/terraform/global/terragrunt.hcl +++ b/testdata/github_actions/terraform/global/terragrunt.hcl @@ -1,5 +1,3 @@ - - dependencies { paths = [ ] diff --git a/testdata/github_provider_yaml/terraform/accounts/foo/terragrunt.hcl b/testdata/github_provider_yaml/terraform/accounts/foo/terragrunt.hcl index 0d6c91ad3..3af9d8af7 100644 --- a/testdata/github_provider_yaml/terraform/accounts/foo/terragrunt.hcl +++ b/testdata/github_provider_yaml/terraform/accounts/foo/terragrunt.hcl @@ -1,7 +1,4 @@ - - dependencies { paths = [ - "../../../accounts/foo", ] } \ No newline at end of file diff --git a/testdata/github_provider_yaml/terraform/envs/bar/bam/terragrunt.hcl b/testdata/github_provider_yaml/terraform/envs/bar/bam/terragrunt.hcl index 0d6c91ad3..c121afc3e 100644 --- a/testdata/github_provider_yaml/terraform/envs/bar/bam/terragrunt.hcl +++ b/testdata/github_provider_yaml/terraform/envs/bar/bam/terragrunt.hcl @@ -1,5 +1,3 @@ - - dependencies { paths = [ "../../../accounts/foo", diff --git a/testdata/github_provider_yaml/terraform/global/terragrunt.hcl b/testdata/github_provider_yaml/terraform/global/terragrunt.hcl index 9a00856ae..3af9d8af7 100644 --- a/testdata/github_provider_yaml/terraform/global/terragrunt.hcl +++ b/testdata/github_provider_yaml/terraform/global/terragrunt.hcl @@ -1,5 +1,3 @@ - - dependencies { paths = [ ] diff --git a/testdata/okta_provider_yaml/terraform/accounts/foo/terragrunt.hcl b/testdata/okta_provider_yaml/terraform/accounts/foo/terragrunt.hcl index 0d6c91ad3..3af9d8af7 100644 --- a/testdata/okta_provider_yaml/terraform/accounts/foo/terragrunt.hcl +++ b/testdata/okta_provider_yaml/terraform/accounts/foo/terragrunt.hcl @@ -1,7 +1,4 @@ - - dependencies { paths = [ - "../../../accounts/foo", ] } \ No newline at end of file diff --git a/testdata/okta_provider_yaml/terraform/envs/bar/bam/terragrunt.hcl b/testdata/okta_provider_yaml/terraform/envs/bar/bam/terragrunt.hcl index 0d6c91ad3..c121afc3e 100644 --- a/testdata/okta_provider_yaml/terraform/envs/bar/bam/terragrunt.hcl +++ b/testdata/okta_provider_yaml/terraform/envs/bar/bam/terragrunt.hcl @@ -1,5 +1,3 @@ - - dependencies { paths = [ "../../../accounts/foo", diff --git a/testdata/okta_provider_yaml/terraform/global/terragrunt.hcl b/testdata/okta_provider_yaml/terraform/global/terragrunt.hcl index 9a00856ae..3af9d8af7 100644 --- a/testdata/okta_provider_yaml/terraform/global/terragrunt.hcl +++ b/testdata/okta_provider_yaml/terraform/global/terragrunt.hcl @@ -1,5 +1,3 @@ - - dependencies { paths = [ ] diff --git a/testdata/remote_backend_yaml/terraform/accounts/acct1/terragrunt.hcl b/testdata/remote_backend_yaml/terraform/accounts/acct1/terragrunt.hcl index 004eabada..3af9d8af7 100644 --- a/testdata/remote_backend_yaml/terraform/accounts/acct1/terragrunt.hcl +++ b/testdata/remote_backend_yaml/terraform/accounts/acct1/terragrunt.hcl @@ -1,7 +1,4 @@ - - dependencies { paths = [ - "../../../accounts/acct1", ] } \ No newline at end of file diff --git a/testdata/remote_backend_yaml/terraform/global/terragrunt.hcl b/testdata/remote_backend_yaml/terraform/global/terragrunt.hcl index 9a00856ae..3af9d8af7 100644 --- a/testdata/remote_backend_yaml/terraform/global/terragrunt.hcl +++ b/testdata/remote_backend_yaml/terraform/global/terragrunt.hcl @@ -1,5 +1,3 @@ - - dependencies { paths = [ ] diff --git a/testdata/snowflake_provider_yaml/terraform/accounts/foo/terragrunt.hcl b/testdata/snowflake_provider_yaml/terraform/accounts/foo/terragrunt.hcl index 0d6c91ad3..3af9d8af7 100644 --- a/testdata/snowflake_provider_yaml/terraform/accounts/foo/terragrunt.hcl +++ b/testdata/snowflake_provider_yaml/terraform/accounts/foo/terragrunt.hcl @@ -1,7 +1,4 @@ - - dependencies { paths = [ - "../../../accounts/foo", ] } \ No newline at end of file diff --git a/testdata/snowflake_provider_yaml/terraform/envs/bar/bam/terragrunt.hcl b/testdata/snowflake_provider_yaml/terraform/envs/bar/bam/terragrunt.hcl index 0d6c91ad3..c121afc3e 100644 --- a/testdata/snowflake_provider_yaml/terraform/envs/bar/bam/terragrunt.hcl +++ b/testdata/snowflake_provider_yaml/terraform/envs/bar/bam/terragrunt.hcl @@ -1,5 +1,3 @@ - - dependencies { paths = [ "../../../accounts/foo", diff --git a/testdata/snowflake_provider_yaml/terraform/global/terragrunt.hcl b/testdata/snowflake_provider_yaml/terraform/global/terragrunt.hcl index 9a00856ae..3af9d8af7 100644 --- a/testdata/snowflake_provider_yaml/terraform/global/terragrunt.hcl +++ b/testdata/snowflake_provider_yaml/terraform/global/terragrunt.hcl @@ -1,5 +1,3 @@ - - dependencies { paths = [ ] diff --git a/testdata/tfe_config/terraform/accounts/account/terragrunt.hcl b/testdata/tfe_config/terraform/accounts/account/terragrunt.hcl index c449cc53f..3af9d8af7 100644 --- a/testdata/tfe_config/terraform/accounts/account/terragrunt.hcl +++ b/testdata/tfe_config/terraform/accounts/account/terragrunt.hcl @@ -1,7 +1,4 @@ - - dependencies { paths = [ - "../../../accounts/account", ] } \ No newline at end of file diff --git a/testdata/tfe_config/terraform/envs/staging/comp1/terragrunt.hcl b/testdata/tfe_config/terraform/envs/staging/comp1/terragrunt.hcl index c449cc53f..05702bb97 100644 --- a/testdata/tfe_config/terraform/envs/staging/comp1/terragrunt.hcl +++ b/testdata/tfe_config/terraform/envs/staging/comp1/terragrunt.hcl @@ -1,5 +1,3 @@ - - dependencies { paths = [ "../../../accounts/account", diff --git a/testdata/tfe_config/terraform/global/terragrunt.hcl b/testdata/tfe_config/terraform/global/terragrunt.hcl index 9a00856ae..3af9d8af7 100644 --- a/testdata/tfe_config/terraform/global/terragrunt.hcl +++ b/testdata/tfe_config/terraform/global/terragrunt.hcl @@ -1,5 +1,3 @@ - - dependencies { paths = [ ] diff --git a/testdata/tfe_config/terraform/tfe/terragrunt.hcl b/testdata/tfe_config/terraform/tfe/terragrunt.hcl index 9a00856ae..3af9d8af7 100644 --- a/testdata/tfe_config/terraform/tfe/terragrunt.hcl +++ b/testdata/tfe_config/terraform/tfe/terragrunt.hcl @@ -1,5 +1,3 @@ - - dependencies { paths = [ ] diff --git a/testdata/tfe_provider_yaml/terraform/accounts/foo/terragrunt.hcl b/testdata/tfe_provider_yaml/terraform/accounts/foo/terragrunt.hcl index 0d6c91ad3..3af9d8af7 100644 --- a/testdata/tfe_provider_yaml/terraform/accounts/foo/terragrunt.hcl +++ b/testdata/tfe_provider_yaml/terraform/accounts/foo/terragrunt.hcl @@ -1,7 +1,4 @@ - - dependencies { paths = [ - "../../../accounts/foo", ] } \ No newline at end of file diff --git a/testdata/tfe_provider_yaml/terraform/envs/bar/bam/terragrunt.hcl b/testdata/tfe_provider_yaml/terraform/envs/bar/bam/terragrunt.hcl index 0d6c91ad3..c121afc3e 100644 --- a/testdata/tfe_provider_yaml/terraform/envs/bar/bam/terragrunt.hcl +++ b/testdata/tfe_provider_yaml/terraform/envs/bar/bam/terragrunt.hcl @@ -1,5 +1,3 @@ - - dependencies { paths = [ "../../../accounts/foo", diff --git a/testdata/tfe_provider_yaml/terraform/global/terragrunt.hcl b/testdata/tfe_provider_yaml/terraform/global/terragrunt.hcl index 9a00856ae..3af9d8af7 100644 --- a/testdata/tfe_provider_yaml/terraform/global/terragrunt.hcl +++ b/testdata/tfe_provider_yaml/terraform/global/terragrunt.hcl @@ -1,5 +1,3 @@ - - dependencies { paths = [ ] diff --git a/testdata/v2_full_yaml/fogg.yml b/testdata/v2_full_yaml/fogg.yml index 668f11895..13ef28fb8 100644 --- a/testdata/v2_full_yaml/fogg.yml +++ b/testdata/v2_full_yaml/fogg.yml @@ -1,5 +1,10 @@ accounts: bar: + depends_on: + accounts: + - foo + - bar + components: [] providers: aws: account_id: 00456 @@ -79,9 +84,11 @@ envs: sentry: version: 1.2.3 depends_on: - accounts: [] - components: + accounts: - foo + - bar + components: + - okta - hero okta: providers: diff --git a/testdata/v2_full_yaml/terraform/accounts/bar/terragrunt.hcl b/testdata/v2_full_yaml/terraform/accounts/bar/terragrunt.hcl index 0f9f37e1e..5af6345d1 100644 --- a/testdata/v2_full_yaml/terraform/accounts/bar/terragrunt.hcl +++ b/testdata/v2_full_yaml/terraform/accounts/bar/terragrunt.hcl @@ -1,8 +1,5 @@ - - dependencies { paths = [ - "../../../accounts/bar", - "../../../accounts/foo", + "../foo", ] } \ No newline at end of file diff --git a/testdata/v2_full_yaml/terraform/accounts/foo/terragrunt.hcl b/testdata/v2_full_yaml/terraform/accounts/foo/terragrunt.hcl index 9a00856ae..3af9d8af7 100644 --- a/testdata/v2_full_yaml/terraform/accounts/foo/terragrunt.hcl +++ b/testdata/v2_full_yaml/terraform/accounts/foo/terragrunt.hcl @@ -1,5 +1,3 @@ - - dependencies { paths = [ ] diff --git a/testdata/v2_full_yaml/terraform/envs/prod/datadog/terragrunt.hcl b/testdata/v2_full_yaml/terraform/envs/prod/datadog/terragrunt.hcl index 1689fe971..c59611245 100644 --- a/testdata/v2_full_yaml/terraform/envs/prod/datadog/terragrunt.hcl +++ b/testdata/v2_full_yaml/terraform/envs/prod/datadog/terragrunt.hcl @@ -1,5 +1,3 @@ - - dependencies { paths = [ "../hero", diff --git a/testdata/v2_full_yaml/terraform/envs/prod/hero/terragrunt.hcl b/testdata/v2_full_yaml/terraform/envs/prod/hero/terragrunt.hcl index 9a00856ae..3af9d8af7 100644 --- a/testdata/v2_full_yaml/terraform/envs/prod/hero/terragrunt.hcl +++ b/testdata/v2_full_yaml/terraform/envs/prod/hero/terragrunt.hcl @@ -1,5 +1,3 @@ - - dependencies { paths = [ ] diff --git a/testdata/v2_full_yaml/terraform/envs/prod/okta/terragrunt.hcl b/testdata/v2_full_yaml/terraform/envs/prod/okta/terragrunt.hcl index 3f95e62ae..57123aa44 100644 --- a/testdata/v2_full_yaml/terraform/envs/prod/okta/terragrunt.hcl +++ b/testdata/v2_full_yaml/terraform/envs/prod/okta/terragrunt.hcl @@ -1,5 +1,3 @@ - - dependencies { paths = [ "../datadog", diff --git a/testdata/v2_full_yaml/terraform/envs/prod/sentry/fogg.tf b/testdata/v2_full_yaml/terraform/envs/prod/sentry/fogg.tf index 149b5bfc7..cdcf17fb8 100644 --- a/testdata/v2_full_yaml/terraform/envs/prod/sentry/fogg.tf +++ b/testdata/v2_full_yaml/terraform/envs/prod/sentry/fogg.tf @@ -168,6 +168,48 @@ data "terraform_remote_state" "hero" { profile = "profile" + } +} +data "terraform_remote_state" "okta" { + backend = "s3" + config = { + + + bucket = "buck" + + key = "terraform/proj/envs/prod/components/okta.tfstate" + region = "us-west-2" + profile = "profile" + + + } +} +data "terraform_remote_state" "bar" { + backend = "s3" + config = { + + + bucket = "buck" + + key = "terraform/proj/accounts/bar.tfstate" + region = "us-west-2" + profile = "profile" + + + } +} +data "terraform_remote_state" "foo" { + backend = "s3" + config = { + + + bucket = "buck" + + key = "terraform/proj/accounts/foo.tfstate" + region = "us-west-2" + profile = "profile" + + } } # tflint-ignore: terraform_unused_declarations diff --git a/testdata/v2_full_yaml/terraform/envs/prod/sentry/terragrunt.hcl b/testdata/v2_full_yaml/terraform/envs/prod/sentry/terragrunt.hcl index 47162c1a3..9d10243cf 100644 --- a/testdata/v2_full_yaml/terraform/envs/prod/sentry/terragrunt.hcl +++ b/testdata/v2_full_yaml/terraform/envs/prod/sentry/terragrunt.hcl @@ -1,7 +1,8 @@ - - dependencies { paths = [ "../hero", + "../okta", + "../../../accounts/bar", + "../../../accounts/foo", ] } \ No newline at end of file diff --git a/testdata/v2_full_yaml/terraform/envs/prod/vpc/terragrunt.hcl b/testdata/v2_full_yaml/terraform/envs/prod/vpc/terragrunt.hcl index 0d618cc35..2340ac347 100644 --- a/testdata/v2_full_yaml/terraform/envs/prod/vpc/terragrunt.hcl +++ b/testdata/v2_full_yaml/terraform/envs/prod/vpc/terragrunt.hcl @@ -1,5 +1,3 @@ - - dependencies { paths = [ "../datadog", diff --git a/testdata/v2_full_yaml/terraform/envs/staging/comp1/terragrunt.hcl b/testdata/v2_full_yaml/terraform/envs/staging/comp1/terragrunt.hcl index a5e6bea2e..0f9b6c696 100644 --- a/testdata/v2_full_yaml/terraform/envs/staging/comp1/terragrunt.hcl +++ b/testdata/v2_full_yaml/terraform/envs/staging/comp1/terragrunt.hcl @@ -1,5 +1,3 @@ - - dependencies { paths = [ "../comp2", diff --git a/testdata/v2_full_yaml/terraform/envs/staging/comp2/terragrunt.hcl b/testdata/v2_full_yaml/terraform/envs/staging/comp2/terragrunt.hcl index 2f90d4c34..c81d46bf6 100644 --- a/testdata/v2_full_yaml/terraform/envs/staging/comp2/terragrunt.hcl +++ b/testdata/v2_full_yaml/terraform/envs/staging/comp2/terragrunt.hcl @@ -1,5 +1,3 @@ - - dependencies { paths = [ "../comp1", diff --git a/testdata/v2_full_yaml/terraform/envs/staging/vpc/terragrunt.hcl b/testdata/v2_full_yaml/terraform/envs/staging/vpc/terragrunt.hcl index a98116bfc..34d2fa2a2 100644 --- a/testdata/v2_full_yaml/terraform/envs/staging/vpc/terragrunt.hcl +++ b/testdata/v2_full_yaml/terraform/envs/staging/vpc/terragrunt.hcl @@ -1,5 +1,3 @@ - - dependencies { paths = [ "../comp1", diff --git a/testdata/v2_full_yaml/terraform/global/terragrunt.hcl b/testdata/v2_full_yaml/terraform/global/terragrunt.hcl index 9a00856ae..3af9d8af7 100644 --- a/testdata/v2_full_yaml/terraform/global/terragrunt.hcl +++ b/testdata/v2_full_yaml/terraform/global/terragrunt.hcl @@ -1,5 +1,3 @@ - - dependencies { paths = [ ] diff --git a/testdata/v2_minimal_valid_yaml/terraform/global/terragrunt.hcl b/testdata/v2_minimal_valid_yaml/terraform/global/terragrunt.hcl index 9a00856ae..3af9d8af7 100644 --- a/testdata/v2_minimal_valid_yaml/terraform/global/terragrunt.hcl +++ b/testdata/v2_minimal_valid_yaml/terraform/global/terragrunt.hcl @@ -1,5 +1,3 @@ - - dependencies { paths = [ ] diff --git a/testdata/v2_no_aws_provider_yaml/terraform/accounts/bar/terragrunt.hcl b/testdata/v2_no_aws_provider_yaml/terraform/accounts/bar/terragrunt.hcl index 0f9f37e1e..5af6345d1 100644 --- a/testdata/v2_no_aws_provider_yaml/terraform/accounts/bar/terragrunt.hcl +++ b/testdata/v2_no_aws_provider_yaml/terraform/accounts/bar/terragrunt.hcl @@ -1,8 +1,5 @@ - - dependencies { paths = [ - "../../../accounts/bar", - "../../../accounts/foo", + "../foo", ] } \ No newline at end of file diff --git a/testdata/v2_no_aws_provider_yaml/terraform/accounts/foo/terragrunt.hcl b/testdata/v2_no_aws_provider_yaml/terraform/accounts/foo/terragrunt.hcl index 0f9f37e1e..43cac0d2f 100644 --- a/testdata/v2_no_aws_provider_yaml/terraform/accounts/foo/terragrunt.hcl +++ b/testdata/v2_no_aws_provider_yaml/terraform/accounts/foo/terragrunt.hcl @@ -1,8 +1,5 @@ - - dependencies { paths = [ - "../../../accounts/bar", - "../../../accounts/foo", + "../bar", ] } \ No newline at end of file diff --git a/testdata/v2_no_aws_provider_yaml/terraform/envs/staging/comp1/terragrunt.hcl b/testdata/v2_no_aws_provider_yaml/terraform/envs/staging/comp1/terragrunt.hcl index a5e6bea2e..0f9b6c696 100644 --- a/testdata/v2_no_aws_provider_yaml/terraform/envs/staging/comp1/terragrunt.hcl +++ b/testdata/v2_no_aws_provider_yaml/terraform/envs/staging/comp1/terragrunt.hcl @@ -1,5 +1,3 @@ - - dependencies { paths = [ "../comp2", diff --git a/testdata/v2_no_aws_provider_yaml/terraform/envs/staging/comp2/terragrunt.hcl b/testdata/v2_no_aws_provider_yaml/terraform/envs/staging/comp2/terragrunt.hcl index 2f90d4c34..c81d46bf6 100644 --- a/testdata/v2_no_aws_provider_yaml/terraform/envs/staging/comp2/terragrunt.hcl +++ b/testdata/v2_no_aws_provider_yaml/terraform/envs/staging/comp2/terragrunt.hcl @@ -1,5 +1,3 @@ - - dependencies { paths = [ "../comp1", diff --git a/testdata/v2_no_aws_provider_yaml/terraform/envs/staging/vpc/terragrunt.hcl b/testdata/v2_no_aws_provider_yaml/terraform/envs/staging/vpc/terragrunt.hcl index a98116bfc..34d2fa2a2 100644 --- a/testdata/v2_no_aws_provider_yaml/terraform/envs/staging/vpc/terragrunt.hcl +++ b/testdata/v2_no_aws_provider_yaml/terraform/envs/staging/vpc/terragrunt.hcl @@ -1,5 +1,3 @@ - - dependencies { paths = [ "../comp1", diff --git a/testdata/v2_no_aws_provider_yaml/terraform/global/terragrunt.hcl b/testdata/v2_no_aws_provider_yaml/terraform/global/terragrunt.hcl index 9a00856ae..3af9d8af7 100644 --- a/testdata/v2_no_aws_provider_yaml/terraform/global/terragrunt.hcl +++ b/testdata/v2_no_aws_provider_yaml/terraform/global/terragrunt.hcl @@ -1,5 +1,3 @@ - - dependencies { paths = [ ]