ec2_security_group - Module failure when mixing rules with 'group_name' and 'ip_prefix' with --diff #2373
Labels
bug
This issue/PR relates to a bug
needs_verified
Some one might want to take a look at this and reproduce it to confirm
Summary
When I try to use the
ec2_security_group
module using a mixed set of rules (some withgroup_name
and other withip_prefix
), the module fails, but only when I running indiff
mode!Issue Type
Bug Report
Component Name
ec2_security_group
Ansible Version
Collection Versions
AWS SDK versions
Configuration
OS / Environment
MacBook Pro
Chip: Apple M1 Pro
macOS: Sonoma 14.6.1
GNU bash, version 3.2.57(1)-release (arm64-apple-darwin23)
Homebrew 4.4.2
Steps to Reproduce
Tested with this simple playbook:
Run the playbook with the
--diff
Expected Results
I expected the task to succeed.
Actual Results
The task fails.
These details are obtained with
-vvv
verbosity.Code of Conduct
The text was updated successfully, but these errors were encountered: