aws_launch_template tag_specifications cannot contain empty or null tags #13155
Labels
bug
Addresses a defect in current functionality.
service/ec2
Issues and PRs that pertain to the ec2 service.
Community Note
Terraform Version
Affected Resource(s)
Terraform Configuration Files
Minimal reproduction:
Possibly also a related reproduction?
Debug Output
https://gist.github.com/steved/092c6ff4ecbae5126cb3ddcf169f039c
Expected Behavior
Ideally, I think this should this fail validation? At the very least making the
Tags
schema required would fix the first case. I don't see a way of requiring a non-empty map, however.Actual Behavior
InvalidRequest
error without a very descriptive pointer to the incorrect statement:Steps to Reproduce
terraform apply
either of the config files above.Important Factoids
Was able to workaround this using a foreach:
References
N/A
The text was updated successfully, but these errors were encountered: