Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How to use complex types (map, list) in variables with v0.19 ? #738

Closed
akomlik opened this issue Jun 11, 2019 · 1 comment
Closed

How to use complex types (map, list) in variables with v0.19 ? #738

akomlik opened this issue Jun 11, 2019 · 1 comment

Comments

@akomlik
Copy link

akomlik commented Jun 11, 2019

The migration guide says to define variables in the input block: Whenever you run a Terragrunt command, such as terragrunt apply, Terragrunt will make these variables available to your Terraform module as environment variables

However, if the variable of complex type how it this even possible to pass it as environment variable?

for example, in our prior (v.0.18) terraform.tfvars for Aiven Kafka module we have now:

USER_CONFIG = {
ip_filter = [
"x.y.z.y/32",
]
kafka_version = "2.2"
}

@akomlik
Copy link
Author

akomlik commented Jun 11, 2019

Reading up on documentation I found that such complex structures will be translated to a quoted strings in json format. I guess this can be closed

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant