You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
With V2.18.0 if I don't fill out the tags for the root_block_device then I will get the following error:
│ Error: Incorrect attribute value type
│
│ on .terraform/modules/ec2_this/main.tf line 38, in resource "aws_instance""this":
│ 38: tags = lookup(root_block_device.value, "tags", null)
│
│ Inappropriate value for attribute "tags": map of string required.
If I put there some placeholder tags I got this error:
│ Error: Invalid value for module argument
│
│ on ec2.tf line 109, in module "ec2_this":
│ 109: root_block_device = [
│ 110: {
│ 111: volume_type = "gp2"
│ 112: volume_size = 100
│ 113: tags = {
│ 114: Name = "fooo"
│ 115: }
│ 116: },
│ 117: ]
│
│ The given value is not suitable for child module variable
│ "root_block_device" defined at
│ .terraform/modules/ec2_powerbi_gateway_2/variables.tf:154,1-29: element 0:
│ element "tags": string required.
The text was updated successfully, but these errors were encountered:
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
With
V2.18.0
if I don't fill out the tags for the root_block_device then I will get the following error:My TF file looks like this:
If I put there some placeholder tags I got this error:
The text was updated successfully, but these errors were encountered: