Skip to content

feat: Add support for security group referencing to transit-gateway module #133

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

Merged
merged 3 commits into from
Jan 15, 2025

Conversation

syedimranhassan
Copy link
Contributor

@syedimranhassan syedimranhassan commented Sep 27, 2024

…odule

Added support for security_group_referencing_support in the transit-gateway module.

Description

Motivation and Context

AWS recently introduced [HERE] security group referencing for Transit Gateway VPC attachments. This feature was available in the standalone resource aws_ec2_transit_gateway_vpc_attachment but not in the transit-gateway module. Added support for it in the module.

Breaking Changes

no

How Has This Been Tested?

  • I have updated at least one of the examples/* to demonstrate and validate my change(s)
  • I have tested and validated these changes using one or more of the provided examples/* projects
  • I have executed pre-commit run -a on my pull request

@syedimranhassan syedimranhassan changed the title feat: add support for security group referencing to transit-gateway m… feat: Add support for security group referencing to transit-gateway m… Sep 27, 2024
…odule

AWS recently introduced security group referencing for Transit Gateway VPC attachments. This feature was available in the standalone resource `aws_ec2_transit_gateway_vpc_attachment` but not in the transit-gateway module. Added support for it in the module.
@jhenry82
Copy link

Would love to see this too! One comment, this new setting exists at the Transit Gateway level too, not just attachments. So the module should also have a new variable for whether to enable it on the TGW. See https://registry.terraform.io/providers/hashicorp/aws/latest/docs/resources/ec2_transit_gateway

@syedimranhassan
Copy link
Contributor Author

@jhenry82 Thank you for pointing that out. I've updated the code to include SG referencing support at the TGW level as well.

@syedimranhassan
Copy link
Contributor Author

@jhenry82 Can you please review this?

@jhenry82
Copy link

jhenry82 commented Oct 2, 2024

I am not a maintainer of this module, my review wouldn't mean much :) I just use the module and came here to see if the feature had been added, and saw your MR. Hopefully it is able to be integrated soon.

@syedimranhassan
Copy link
Contributor Author

@antonbabenko @bryantbiggs Can you please review this PR?

@fintonic-plaform
Copy link

We also need this functionality.

@tigpt
Copy link

tigpt commented Nov 19, 2024

BUMP we need this.

@savealive
Copy link

Can we get this feature released?

@tigpt
Copy link

tigpt commented Dec 24, 2024

since no activity from the main maintainer, can @syedimranhassan host this fork on terraform registry so I can reference your fork instead of the main project? as a temporary measure.
Thanks

@tigpt
Copy link

tigpt commented Dec 24, 2024

I published it myself to be able to use it, feel free to use until official support.

https://registry.terraform.io/modules/tigpt/transit-gateway/aws/latest

module "tgw" {
source = "tigpt/transit-gateway/aws"
version = "2.12.4"

...
}

All credits go to @syedimranhassan for the work on the PR. Thanks ❤️

@lostsnow
Copy link

We also need this functionality.

@savealive
Copy link

@antonbabenko could you approve this PR please?

@antonbabenko antonbabenko changed the title feat: Add support for security group referencing to transit-gateway m… feat: Add support for security group referencing to transit-gateway module Jan 15, 2025
@antonbabenko antonbabenko merged commit 26c10f3 into terraform-aws-modules:master Jan 15, 2025
2 checks passed
antonbabenko pushed a commit that referenced this pull request Jan 15, 2025
## [2.13.0](v2.12.2...v2.13.0) (2025-01-15)

### Features

* Add support for security group referencing to transit-gateway module ([#133](#133)) ([26c10f3](26c10f3))

### Bug Fixes

* Update CI workflow versions to latest ([#134](#134)) ([77279c9](77279c9))
@antonbabenko
Copy link
Member

This PR is included in version 2.13.0 🎉

markshawtoronto added a commit to markshawtoronto/terraform-aws-transit-gateway that referenced this pull request Jan 16, 2025
Copy link

I'm going to lock this pull request 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 related to this change, please open a new issue and complete the issue template so we can capture all the details necessary to investigate further.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Feb 15, 2025
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

8 participants