Skip to content

🤖🤖🤖 New Resource: aws_ec2_local_gateway_route_table_virtual_interface_group_association#48014

Draft
BenjaminSaintCyr wants to merge 5 commits into
hashicorp:mainfrom
BenjaminSaintCyr:f-aws_ec2_local_gateway_route_table_virtual_interface_group_association
Draft

🤖🤖🤖 New Resource: aws_ec2_local_gateway_route_table_virtual_interface_group_association#48014
BenjaminSaintCyr wants to merge 5 commits into
hashicorp:mainfrom
BenjaminSaintCyr:f-aws_ec2_local_gateway_route_table_virtual_interface_group_association

Conversation

@BenjaminSaintCyr
Copy link
Copy Markdown

@BenjaminSaintCyr BenjaminSaintCyr commented May 21, 2026

Rollback Plan

If a change needs to be reverted, we will publish an updated version of the library.

Changes to Security Controls

No changes to security controls (access controls, encryption, logging) are introduced by this pull request.

Description

Adds a new resource aws_ec2_local_gateway_route_table_virtual_interface_group_association that manages the association between an EC2 Local Gateway Route Table and a Virtual Interface Group on AWS Outposts.

This is a straightforward CRUD resource (Create/Read/Delete, no Update) that wraps the CreateLocalGatewayRouteTableVirtualInterfaceGroupAssociation, DescribeLocalGatewayRouteTableVirtualInterfaceGroupAssociations, and DeleteLocalGatewayRouteTableVirtualInterfaceGroupAssociation EC2 APIs. Both required arguments (local_gateway_route_table_id and local_gateway_virtual_interface_group_id) are ForceNew since the API does not support modifying an existing association. Tags are the only in-place updatable attribute.

Implementation uses terraform-plugin-framework + aws-sdk-go-v2. Async state transitions (associatingassociated, disassociating → removed) are handled via waiters with a 5-minute timeout.

Relations

Closes #48006.

References

Output from Acceptance Testing

Tests require an AWS account with Outpost hardware. Tests are gated by acctest.PreCheckOutpostsOutposts and will skip in environments without Outposts.

Acceptance test output to be added once run against an Outpost-enabled account.


AI Usage Disclosure

This pull request was prepared with assistance from an AI agent — specifically, a custom agent running inside Claude Code. The agent was configured for this repository (branching conventions, skaff usage, make gen awareness, no manual edits to _gen.go, AutoFlex, identity generators, acceptance-test scaffolding) and used for code generation, test authoring, documentation, and PR creation. Every line has been reviewed by the human contributor, who has verified the code compiles and understands each design decision. Per the project's AI Usage Policy, "🤖🤖🤖" is included in the PR title.

@github-actions
Copy link
Copy Markdown
Contributor

Community Guidelines

This comment is added to every new Pull Request to provide quick reference to how the Terraform AWS Provider is maintained. Please review the information below, and thank you for contributing to the community that keeps the provider thriving! 🚀

Voting for Prioritization

  • Please vote on this Pull Request by adding a 👍 reaction to the original post to help the community and maintainers prioritize it.
  • Please see our prioritization guide for additional information on how the maintainers handle prioritization.
  • Please do not leave +1 or other comments that do not add relevant new information or questions; they generate extra noise for others following the Pull Request and do not help prioritize the request.

Pull Request Authors

  • Review the contribution guide relating to the type of change you are making to ensure all of the necessary steps have been taken.
  • Whether or not the branch has been rebased will not impact prioritization, but doing so is always a welcome surprise.

@github-actions github-actions Bot added needs-triage Waiting for first response or review from a maintainer. documentation Introduces or discusses updates to documentation. tests PRs: expanded test coverage. Issues: expanded coverage, enhancements to test infrastructure. generators Relates to code generators. service/ec2outposts Issues and PRs that pertain to the ec2outposts service. size/XL Managed by automation to categorize the size of a PR. labels May 21, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

documentation Introduces or discusses updates to documentation. generators Relates to code generators. needs-triage Waiting for first response or review from a maintainer. service/ec2outposts Issues and PRs that pertain to the ec2outposts service. size/XL Managed by automation to categorize the size of a PR. tests PRs: expanded test coverage. Issues: expanded coverage, enhancements to test infrastructure.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

resource/aws_ec2_local_gateway_route_table_virtual_interface_group_association: New Resource

1 participant