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

fix: Add missing private subnets to max subnet length local #920

Merged

Conversation

bryantbiggs
Copy link
Member

Description

  • Add missing private subnets to max subnet length local

Motivation and Context

  • Allows creating private only subnets

Error from current implementation:
image

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

Copy link
Member

@antonbabenko antonbabenko left a comment

Choose a reason for hiding this comment

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

Should not we also check max length of intra_subnets? (Offline on mobile and can't really see if it was implemented before)

@bryantbiggs
Copy link
Member Author

I added intranets in as well - I left out outposts for now since they tend to be fully isolated and I don't see them interacting with the max subnet local variable currently

@bryantbiggs
Copy link
Member Author

before (last v3.x version)
image

after (this PR)
image

@bryantbiggs bryantbiggs merged commit 6f51f34 into terraform-aws-modules:master Apr 7, 2023
@bryantbiggs bryantbiggs deleted the fix/private-routes branch April 7, 2023 19:58
antonbabenko pushed a commit that referenced this pull request Apr 7, 2023
### [4.0.1](v4.0.0...v4.0.1) (2023-04-07)

### Bug Fixes

* Add missing private subnets to max subnet length local ([#920](#920)) ([6f51f34](6f51f34))
@antonbabenko
Copy link
Member

This PR is included in version 4.0.1 🎉

@github-actions
Copy link

github-actions bot commented May 8, 2023

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 May 8, 2023
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.

2 participants