InterfaceVpcEndpoint.connections.addSecurityGroup() not working #16117
Labels
closing-soon
This issue will automatically close in 4 days unless further comments are made.
guidance
Question that needs advice or information.
Greetings, I have encountered an issue in adding a Security Group to an InterfaceVpcEndpoint.
When calling connections.addSecurityGroup(), even though i can see the SG has been added to the construct itself by printing out
connections.securityGroups.toString()
in an Output, i do not see the SG being added to the Endpoint upon deployment.Is this a bug in InterfaceVpcEndpoint or perhaps Connections? Please let me know if you need any more info.
Reproduction Steps
What did you expect to happen?
See the second Security Group, SG-2, added to the VPC Endpoint.
What actually happened?
The Security Group, SG-2, was not added to the VPC Endpoint.
Additionally, it is peculiar to see that both the SecurityGroups are indeed listed in the Output that prints out the security groups of the InterfaceVPCEndpoint construct, but not in the console nor via describe-vpc-endpoints
Environment
Other
This is 🐛 Bug Report
The text was updated successfully, but these errors were encountered: