ec2_customer_gateway: state present expect bgp_arn instead of bgp_asn (#3366)

This commit is contained in:
Matthieu Dolci 2016-11-11 14:33:18 -08:00 committed by Matt Clay
parent 69fa44b6d1
commit 8822021132

View file

@ -204,7 +204,7 @@ def main():
module = AnsibleModule(argument_spec=argument_spec, module = AnsibleModule(argument_spec=argument_spec,
supports_check_mode=True, supports_check_mode=True,
required_if=[ required_if=[
('state', 'present', ['bgp_arn']) ('state', 'present', ['bgp_asn'])
] ]
) )