diff --git a/lib/ansible/modules/extras/cloud/amazon/ec2_customer_gateway.py b/lib/ansible/modules/extras/cloud/amazon/ec2_customer_gateway.py index 64a77bb08bf..0138e8399e6 100644 --- a/lib/ansible/modules/extras/cloud/amazon/ec2_customer_gateway.py +++ b/lib/ansible/modules/extras/cloud/amazon/ec2_customer_gateway.py @@ -204,7 +204,7 @@ def main(): module = AnsibleModule(argument_spec=argument_spec, supports_check_mode=True, required_if=[ - ('state', 'present', ['bgp_arn']) + ('state', 'present', ['bgp_asn']) ] )