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

chore: define nat gateway routes outside of aws_route_table resources in samples and modules #354

Merged
merged 1 commit into from
Oct 10, 2024

Conversation

jorisdon
Copy link
Contributor

@jorisdon jorisdon commented Oct 9, 2024

Issue number: N/A

Summary

Changes

This change ensures that the NAT Gateway routes for private route tables are declared in aws_route resources, instead of through the aws_route_table resource that creates the route table. The rationale for this is that the way it's done now does not allow users to add their own routes to these route tables outside of the aws_route_table resource's route declarations.

User experience

Users that are basing their infrastructure off of the samples and have their own routes defined for the private route tables will no longer see their additions getting removed by Terraform incorrectly.

Checklist

If your change doesn't seem to apply, please leave them unchecked.

  • I have performed a self-review of this change
  • Changes have been tested
  • Changes are documented

I have tested the changes for the Horde sample.

No changes in documentation are necessary.

Is this a breaking change? No

Acknowledgment

By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

Disclaimer: We value your time and bandwidth. As such, any pull requests created might not be successful.

@jorisdon jorisdon requested a review from a team as a code owner October 9, 2024 15:02
@jorisdon jorisdon requested review from squidbot and novekm October 9, 2024 15:02
Copy link

@Gabriel-Batista Gabriel-Batista left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good!

Copy link
Contributor

@gabebatista gabebatista left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good!

@jorisdon jorisdon merged commit a0c1e4e into main Oct 10, 2024
7 checks passed
@jorisdon jorisdon deleted the jorisdon/define-routes-outside-aws_route_table branch October 10, 2024 12:24
jcwolfaws pushed a commit to jcwolfaws/cloud-game-development-toolkit that referenced this pull request Dec 10, 2024
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 this pull request may close these issues.

4 participants