aws-ec2: Support for Security Group References in a Peered VPC #27345
Labels
@aws-cdk/aws-ec2
Related to Amazon Elastic Compute Cloud
feature-request
A feature should be added or improved.
needs-triage
This issue or PR still needs to be triaged.
Describe the feature
Security groups from another account can be referenced in peered-VPC setup:
https://aws.amazon.com/about-aws/whats-new/2016/03/announcing-support-for-security-group-references-in-a-peered-vpc/
https://docs.aws.amazon.com/vpc/latest/peering/vpc-peering-security-groups.html
The format looks like this:
123456789012/sg-1a2b3c4d
I want to import the security group from a peered VPC into my project, just like this:
However, when I do this, I get an error:
Use Case
Required to implement proper security when using peered VPCs.
Proposed Solution
Allow importing security groups from different accounts (for peered VPCs).
Other Information
No response
Acknowledgements
CDK version used
2.97.0
Environment details (OS name and version, etc.)
Windows Server 2022 Datacenter
The text was updated successfully, but these errors were encountered: