I\'m looking at using the new conditionals in Terraform v0.11 to basically turn a config block on or off depending on the evnironment.
Here\'s the b
Conditionals in terraform are currently only to be used to determine a value, not to be used as an if statement wrapping a block.
if
And you can also use conditionals to determine a value based on some logic.
https://www.terraform.io/docs/configuration/interpolation.html#conditionals