ec2: Create an ec2.Port and add it to SG, it won't work #26867
Labels
@aws-cdk/aws-ec2
Related to Amazon Elastic Compute Cloud
bug
This issue is a bug.
effort/medium
Medium work item – several days of effort
p2
Describe the bug
(I'm using Python.)
I am trying to add 2 rules to a security group.
I created the above ports using ec2.Port.
And add it to the ingress rule of Security Group.
However, what is actually applied is SCTP, to_port=all, from_port=all.
Expected Behavior
There should be 2 rules in the security group's ingress rule.
Current Behavior
The ingress rule of the scurity group contains 1 rule.
Reproduction Steps
(Python 3.9.16)
Possible Solution
No response
Additional Information/Context
CDK CLI Version
2.82.0 (build 3a8648a)
Framework Version
No response
Node.js Version
v18.16.0
OS
Linux
Language
Python
Language Version
파이썬(3.9.16)
Other information
No response
The text was updated successfully, but these errors were encountered: