ec2_vpc_net: Doesn't honour check_mode when updating CIDR #62678
Labels
affects_2.10
This issue/PR affects Ansible v2.10
aws
bot_closed
bug
This issue/PR relates to a bug.
cloud
collection:amazon.aws
collection
Related to Ansible Collections work
module
This issue/PR relates to a module.
needs_collection_redirect
https://github.com/ansible/ansibullbot/blob/master/docs/collection_migration.md
support:community
This issue/PR relates to code supported by the Ansible community.
SUMMARY
Updating a VPC to add additional CIDRs while using check_mode still results in the CIDRs being updated.
Found while working on #62649
ISSUE TYPE
COMPONENT NAME
lib/ansible/modules/cloud/amazon/ec2_vpc_net.py
ANSIBLE VERSION
CONFIGURATION
N/A (ansible-test docker-container)
OS / ENVIRONMENT
N/A (ansible-test docker-container)
STEPS TO REPRODUCE
EXPECTED RESULTS
Assertions pass, changes only occur when not running with "check_mode: yes"
ACTUAL RESULTS
Changes occur when running in check_mode
The text was updated successfully, but these errors were encountered: