Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Terraform Validate failed on Release 2.13.0 #137

Open
mohitverma7862 opened this issue Jan 16, 2025 · 1 comment · May be fixed by #138
Open

Terraform Validate failed on Release 2.13.0 #137

mohitverma7862 opened this issue Jan 16, 2025 · 1 comment · May be fixed by #138

Comments

@mohitverma7862
Copy link

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.

@markshawtoronto markshawtoronto linked a pull request Jan 16, 2025 that will close this issue
3 tasks
@markshawtoronto
Copy link

I have a similar issue and propose #138 as a fix.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants