-
Notifications
You must be signed in to change notification settings - Fork 116
Open
Labels
bugSomething isn't workingSomething isn't working
Description
Describe the Bug
Unintended .tfimport files for *.tfvars configuration
To Reproduce
My landing_zone_components variable looks something like this:
landing_zone_components = {
landing_zone_vpc = "s3://terraform-aws-landing-zone/components/landing_zone_vpc/*.tfvars"
[...]
}After running terraform apply, I am expecting to see something like this:
$ git diff components/landing_zone_vpc
diff --git a/components/landing_zone_vpc/.terrahub.yml b/components/landing_zone_vpc/.terrahub.yml
index c1943c9..6062599 100644
--- a/components/landing_zone_vpc/.terrahub.yml
+++ b/components/landing_zone_vpc/.terrahub.yml
@@ -47,3 +47,13 @@ component:
value: >-
{ for vpc in aws_vpc.landing_zone_vpc.*: lookup(vpc.tags, "LzHash",
vpc.cidr_block) => vpc.arn }
+terraform:
+ varFile:
+ - >-
+ s3://terraform-aws-landing-zone/components/landing_zone_vpc/default.tfvarsInstead, I'm seeing unintended .tfimport files, something like this:
$ git diff components/landing_zone_vpc
diff --git a/components/landing_zone_vpc/.terrahub.yml b/components/landing_zone_vpc/.terrahub.yml
index c1943c9..6062599 100644
--- a/components/landing_zone_vpc/.terrahub.yml
+++ b/components/landing_zone_vpc/.terrahub.yml
@@ -47,3 +47,13 @@ component:
value: >-
{ for vpc in aws_vpc.landing_zone_vpc.*: lookup(vpc.tags, "LzHash",
vpc.cidr_block) => vpc.arn }
+terraform:
+ varFile:
+ - >-
+ s3://terraform-aws-landing-zone/components/landing_zone_vpc/default.tfimport
+ - >-
+ s3://terraform-aws-landing-zone/components/landing_zone_vpc/default.tfvarsReactions are currently unavailable
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working