Closed gitbrad closed 3 years ago
You need to set this:
enable_volume_tags = false
Thanks @argeljoseph that was indeed the fix. Totally missed that!
@argeljoseph Thanks for answering this issue!
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.
Description
When using "root_block_device" tags within an instance created by this module, I encounter the following error even though "volume_tags" are not defined.
Versions
Terraform v0.14.9
provider registry.terraform.io/hashicorp/template v2.2.0
Reproduction
Steps to reproduce the behavior:
Yes Yes With "volume_tags" not defined, using tags in the "root_block_device" section of an instance created by this module creates an error. ### Code Snippet to Reproduce ``` root_block_device = [ { volume_type = "gp2" volume_size = 250 tags = { snapshotsEnabled = true } }, ] ``` With "volume_tags" omitted ## Expected behavior Terraform is able to cleanly apply the "root_block_device" tags. ## Actual behavior Cannot apply tags to the "root_block_device" using this module with the above information.