Skip to content

Terraform Validate failed on Release 2.13.0 #137

Open
@mohitverma7862

Description

Hi During Terraform Validate the validation is failing for new release.

module "tgw" {
source = "terraform-aws-modules/transit-gateway/aws"
version = "2.13.0"

name = "XXXXXX"
description = "XXXXXXX"

enable_auto_accept_shared_attachments = true

To be enabled later

ram_allow_external_principals = true
ram_principals = XXXXX
}

Below is the error

root@XXXXXX:/# terraform validate

│ Error: Unsupported argument

│ on .terraform/modules/tgw/main.tf line 40, in resource "aws_ec2_transit_gateway" "this":
│ 40: security_group_referencing_support = var.enable_sg_referencing_support ? "enable" : "disable"

│ An argument named "security_group_referencing_support" is not expected here.

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions