docs(ec2): document Network ACL usage and default NACL workaround#37374
Open
syukawa-gh wants to merge 1 commit intoaws:mainfrom
Open
docs(ec2): document Network ACL usage and default NACL workaround#37374syukawa-gh wants to merge 1 commit intoaws:mainfrom
syukawa-gh wants to merge 1 commit intoaws:mainfrom
Conversation
The default Network ACL created with a VPC allows all inbound and outbound traffic (rule 100), and CDK does not manage it. Users cannot remove or modify these permissive rules through CDK. Add a Network ACLs section to the README documenting: - How to create a custom Network ACL and associate it with subnets - How to work around the default NACL's permissive rules by replacing it with a custom NACL that only allows specific traffic Closes aws#13220
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Issue
Closes #13220
Reason for this change
When a VPC is created, AWS automatically creates a default Network ACL with rule 100 that allows all inbound and outbound traffic. CDK does not manage the default Network ACL, so users cannot remove or modify these permissive rules through CDK. This was not documented, causing confusion.
Description of changes
Added a "Network ACLs" section to the
aws-ec2README documenting:Description of how you validated changes
Documentation-only change. Code examples use existing public API symbols (
NetworkAcl,AclCidr,AclTraffic,TrafficDirection,Action).Checklist