[SecurityGroups] Add support for securityGroupRef
and vpcRef
settings inside the userIDGroupPairs
#2059
Labels
kind/feature
Categorizes issue or PR as related to a new feature.
service/ec2
Indicates issues or PRs that are related to ec2-controller.
Is your feature request related to a problem?
Add support for
securityGroupRef
andvpcRef
settings inside theuserIDGroupPairs
of a SecurityGroup objectDescribe the solution you'd like
We are creating/grouping multiple SecurityGroups ACK objects into a single helm chart, along with other ACK objects (VPC, Subnets, etc). Some of these SGs need to be referenced in other SGs that are part of the same chart. Based on https://aws-controllers-k8s.github.io/community/reference/ec2/v1alpha1/securitygroup/ there are few options via
userIDGroupPairs
when a SG needs to be referenced in another SG:groupID
orgroupName
. Given the SG ID is not known beforehand the only option left in this case isgroupName
. But in order to use thegroupName
option we'll also need to pass the VPC ID is again is not know beforehand since the VPC object creation is part of the same helm chart.Describe alternatives you've considered
#2058
The text was updated successfully, but these errors were encountered: