mirror of
https://github.com/ansible-collections/community.general.git
synced 2026-07-08 19:49:09 +00:00
[cloud] Remove DryRun parameter in ec2_vpc_igw_facts check_mode (#23113)
* Remove DryRun parameter in ec2_vpc_igw_facts check_mode
Using DryRun in check mode causes errors, and is not required
(as nothing changes when calling describe_internet_gateways)
Prevents the following error:
```
{"changed": false,
"failed": true,
"msg": "An error occurred (DryRunOperation) when calling
the DescribeInternetGateways operation: Request
would have succeeded, but DryRun flag is set."}
```
* ec2_vpc_igw_facts pep8 tidy up
This commit is contained in:
parent
1a1e12cf46
commit
e61be9ea78
2 changed files with 3 additions and 5 deletions
|
|
@ -176,7 +176,6 @@ lib/ansible/modules/cloud/amazon/ec2_vol_facts.py
|
|||
lib/ansible/modules/cloud/amazon/ec2_vpc_dhcp_options.py
|
||||
lib/ansible/modules/cloud/amazon/ec2_vpc_dhcp_options_facts.py
|
||||
lib/ansible/modules/cloud/amazon/ec2_vpc_igw.py
|
||||
lib/ansible/modules/cloud/amazon/ec2_vpc_igw_facts.py
|
||||
lib/ansible/modules/cloud/amazon/ec2_vpc_nacl.py
|
||||
lib/ansible/modules/cloud/amazon/ec2_vpc_nacl_facts.py
|
||||
lib/ansible/modules/cloud/amazon/ec2_vpc_nat_gateway.py
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue