Closed cixelsyd closed 1 year ago
Marking this issue as stale due to inactivity. This helps our maintainers find and focus on the active issues. If this issue receives no comments in the next 30 days it will automatically be closed. Maintainers can also remove the stale label.
If this issue was automatically closed and you feel this issue should be reopened, we encourage creating a new issue linking back to this one for added context. Thank you!
I'm going to lock this issue because it has been closed for 30 days ⏳. This helps our maintainers find and focus on the active issues. If you have found a problem that seems similar to this, please open a new issue and complete the issue template so we can capture all the details necessary to investigate further.
Community Note
Terraform CLI and Terraform AWS Provider Version
Affected Resource(s)
Terraform Configuration Files
Debug Output
Panic Output
Expected Behavior
I would expect terraform to ignore this empty service registry block:
Actual Behavior
terraform threw an RPC error:
Steps to Reproduce
terraform apply
Important Factoids
I render these dynamic blocks inside a module by passing map objects in via
tfvars
files, like this:I use the ternary operator with the regex/length construction throughout multiple modules to render blocks based on if a particular setting is provided inside
tfvars
. I have not had issues in other places with this method.References