Skip to content
This repository has been archived by the owner on Oct 4, 2024. It is now read-only.

Remove the rule for region cn-north-1 which limits NumberOfAZs by 2 #91

Open
kevinylq opened this issue Jul 17, 2023 · 0 comments
Open

Comments

@kevinylq
Copy link

Hello,

According to the post, cn-north-1 now has 3 AZs.
https://aws.amazon.com/about-aws/whats-new/2021/06/aws-china-beijing-region-adds-the-third-availability-zone/?nc1=h_ls

Could you please exclude below rule from the template?

Rules:
AZRule:
RuleCondition: !Equals [ !Ref 'AWS::Region', cn-north-1 ]
Assertions:
- Assert: !Equals [ !Ref NumberOfAZs, '3' ]
AssertDescription: To enable NAT gateways you must have both CreatePrivateSubnets and CreatePublicSubnets set to 'true'

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

No branches or pull requests

1 participant