Skip to content

Commit

Permalink
adjust booleans (ansible-collections#1420)
Browse files Browse the repository at this point in the history
adjust booleans: use true/false

Depends-On: ansible-collections#1423
SUMMARY
ansible-community/community-topics#116
ISSUE TYPE

Docs Pull Request

Reviewed-by: Mark Chappell <None>
Reviewed-by: Alina Buzachis <None>

This commit was initially merged in https://github.com/ansible-collections/community.aws
See: ansible-collections/community.aws@cb9716e
  • Loading branch information
markuman authored and alinabuzachis committed Oct 23, 2024
1 parent 9563679 commit e2f8154
Showing 1 changed file with 9 additions and 9 deletions.
18 changes: 9 additions & 9 deletions plugins/modules/ec2_transit_gateway.py
Original file line number Diff line number Diff line change
Expand Up @@ -90,8 +90,8 @@
- name: Create a new transit gateway with options
community.aws.ec2_transit_gateway:
asn: 64514
auto_associate: no
auto_propagate: no
auto_associate: false
auto_propagate: false
dns_support: True
description: "nonprod transit gateway"
purge_tags: False
Expand Down Expand Up @@ -470,17 +470,17 @@ def setup_module_object():

argument_spec = dict(
asn=dict(type='int'),
auto_associate=dict(type='bool', default='yes'),
auto_attach=dict(type='bool', default='no'),
auto_propagate=dict(type='bool', default='yes'),
auto_associate=dict(type='bool', default=True),
auto_attach=dict(type='bool', default=False),
auto_propagate=dict(type='bool', default=True),
description=dict(type='str'),
dns_support=dict(type='bool', default='yes'),
purge_tags=dict(type='bool', default='yes'),
dns_support=dict(type='bool', default=True),
purge_tags=dict(type='bool', default=True),
state=dict(default='present', choices=['present', 'absent']),
tags=dict(type='dict', aliases=['resource_tags']),
transit_gateway_id=dict(type='str'),
vpn_ecmp_support=dict(type='bool', default='yes'),
wait=dict(type='bool', default='yes'),
vpn_ecmp_support=dict(type='bool', default=True),
wait=dict(type='bool', default=True),
wait_timeout=dict(type='int', default=300)
)

Expand Down

0 comments on commit e2f8154

Please sign in to comment.