Join GitHub today
GitHub is home to over 31 million developers working together to host and review code, manage projects, and build software together.Sign up
fix warning message "Ran out of time waiting for sg-xxx" #53374
Fix issue #42661 - ec2_group "Ran out of time waiting for sg-xxx IpPermissions" if protocol set to numeric value
The current ec2_group module throws a warning message "Ran out of time waiting for sg-xxx IpPermissions..." when it performs any update on an existing security group.
I believe this error is because wait_for_rule_propagation() function is comparing the current security group state with incorrect desired state.
The list named_tuple_ingress_list and named_tuple_egress_list was supposed to represent the desired ingress and egress security group permissions, but they got modified in function update_rule_descriptions()
Deep copy the origin list named_tuple_ingress_list and named_tuple_egress_list to new variable desired_ingress and desird_egress to help maintain the desired ingress & egress security group permissions.