From 453882cfbd2bebc558507a8b3888bc3f720dbec1 Mon Sep 17 00:00:00 2001 From: Mandar Kulkarni Date: Fri, 3 Jun 2022 05:56:26 -0700 Subject: [PATCH] ec2_customer_gateway: fix bgp_asn documentation inconsistency (#1197) ec2_customer_gateway: fix bgp_asn documentation inconsistency SUMMARY Fixes #1075 ISSUE TYPE Docs Pull Request COMPONENT NAME ec2_customer_gateway ADDITIONAL INFORMATION While current documentation for the parameter states that Border Gateway Protocol (BGP) Autonomous System Number (ASN), required when I(state=present)., according to boto3 documentation, bgp_asn defaults to 65000. Reviewed-by: Markus Bergholz Reviewed-by: Alina Buzachis (cherry picked from commit 877ebbd871d8d11e35f4ef74d0d9e4ecd2300a74) --- plugins/modules/ec2_customer_gateway.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/plugins/modules/ec2_customer_gateway.py b/plugins/modules/ec2_customer_gateway.py index 9c00783a58a..f07e92f4f7c 100644 --- a/plugins/modules/ec2_customer_gateway.py +++ b/plugins/modules/ec2_customer_gateway.py @@ -23,7 +23,8 @@ options: bgp_asn: description: - - Border Gateway Protocol (BGP) Autonomous System Number (ASN), required when I(state=present). + - Border Gateway Protocol (BGP) Autonomous System Number (ASN). + - Defaults to C(65000) if not specified when I(state=present). type: int ip_address: description: