Skip to content

Errors on tags #440

@argeljoseph

Description

@argeljoseph

Description

After the 6.0.0 update, getting the following error:

Image

Have not updated anything tag related on the code I use

  • ✋ I have searched the open/closed issues and my issue is not listed.

Versions

  • Module version [Required]: 6.0.0

  • Terraform version:
    1.12.2

  • Provider version(s):
    AWS 6.0.0

Reproduction Code [Required]

module "ec2-instance" {
source = "terraform-aws-modules/ec2-instance/aws"
version = "6.0.0"

.
.
.
.
.
.
root_block_device = {
encrypted = each.value.encrypted
kms_key_id = each.value.kms_key_id == "" ? local.kms_defaults.syd_ebs : each.value.kms_key_id
volume_type = each.value.volume_type == "" ? "gp3" : each.value.volume_type
volume_size = each.value.volume_size == null ? 32 : each.value.volume_size
iops = each.value.iops == null ? 3000 : each.value.iops
throughput = each.value.throughput == null ? 125 : each.value.throughput
}
tags = merge(local.common_tags, {
"Application Type" = each.value.application_tag
}
)
}

Steps to reproduce the behavior:

Terraform Cloud Yes Updated the version on the module, re-ran plan

Expected behavior

Plan should show that volumes tags #433 will not be affected anymore, while also ensuring the root block tag is also isn't affected

Actual behavior

Plan errors

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions