-
Notifications
You must be signed in to change notification settings - Fork 170
Open
Description
This is truly an edge case bug, if it can be called that, in the function update_security_group.
If there are are IpPermissions present in the security group the code will not update the rules if INGRESS_PORTS changes or someone has manually deleted all rules for one value in INGRESS_PORTS.
To reproduce:
- Set
INGRESS_PORTS = [ 80 ] - Run the code
- Set
INGRESS_PORTS = [ 80, 443 ] - Run the code
Expected behaviour:
IpPermissions has been updated to include port 80 and 443
Actual behaviour:
Only rules for port 80 are present
I recognize that this is an edge case, and that this might not be fixed. In that case this issue will just serve as documentation of this behaviour.
Metadata
Metadata
Assignees
Labels
No labels