-
Notifications
You must be signed in to change notification settings - Fork 204
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
Nat gateway doesn't get created even when its set to true #47
Comments
Could you please make a gist with content of your |
+1 Same thing
If I set |
Ah okay, I found out the problem. Its a difference between
However the problem is that enable_nat_gateway needs to be a string. This example works for instance:
I will see if there's a way around this in terraform. |
It looks like using conditionals which are new in TF v0.8 we can get it to work both ways. @antonbabenko What is the support policy for this repo? (I think the conditional version is more understandable, but if we want to support older than 0.8 it's not an option) Given this mian.tf:
(We need the
|
(The 0.7 compat way of fixing this is to change it from:
to
which looks more correct to me anyway |
…with enable_nat_gateway input
🐛 terraform-community-modules#47 Fix issue with string vs bool value with enable_nat_gateway input
…with enable_nat_gateway input
@antonbabenko I believe this issue can be closed now. |
I entered all the values in variables.tf file and set nat gateway to true and still doesn't get created when i run terraform apply, everything else gets created. No failures or error messages
The text was updated successfully, but these errors were encountered: