From 957945f207b974e1b405c7c2324034fff9dcaabd Mon Sep 17 00:00:00 2001 From: "patchback[bot]" <45432694+patchback[bot]@users.noreply.github.com> Date: Sat, 4 Jun 2022 06:41:22 +0000 Subject: [PATCH] ec2_customer_gateway: fix bgp_asn documentation inconsistency (#1197) (#1206) [PR #1197/877ebbd8 backport][stable-2] ec2_customer_gateway: fix bgp_asn documentation inconsistency This is a backport of PR #1197 as merged into main (877ebbd). 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 --- 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: