From 9a712a5855eea1af63415f005730d19ce61da385 Mon Sep 17 00:00:00 2001 From: Felix Fontein Date: Wed, 2 Nov 2022 11:49:57 +0100 Subject: [PATCH] Fix non-matching defaults in docs (#1576) Fix non-matching defaults in docs Depends-On: #1579 SUMMARY Fix various non-matching default values exposed by ansible/ansible#79267. ISSUE TYPE Docs Pull Request COMPONENT NAME various Reviewed-by: Markus Bergholz This commit was initially merged in https://github.com/ansible-collections/community.aws See: https://github.com/ansible-collections/community.aws/commit/15568f01dc839983dc5c79b78f26b53a93fa72ee --- plugins/modules/ec2_vpc_vpn.py | 3 +++ plugins/modules/ec2_vpc_vpn_info.py | 2 ++ 2 files changed, 5 insertions(+) diff --git a/plugins/modules/ec2_vpc_vpn.py b/plugins/modules/ec2_vpc_vpn.py index 462c662e51a..77a994aaab1 100644 --- a/plugins/modules/ec2_vpc_vpn.py +++ b/plugins/modules/ec2_vpc_vpn.py @@ -61,6 +61,7 @@ required: false type: list elements: dict + default: [] suboptions: TunnelInsideCidr: type: str @@ -110,11 +111,13 @@ description: - The customer gateway id as a string or a list of those strings. type: dict + default: {} routes: description: - Routes to add to the connection. type: list elements: str + default: [] purge_routes: description: - Whether or not to delete VPN connections routes that are not specified in the task. diff --git a/plugins/modules/ec2_vpc_vpn_info.py b/plugins/modules/ec2_vpc_vpn_info.py index 94a6dcc9a91..c7a71f15451 100644 --- a/plugins/modules/ec2_vpc_vpn_info.py +++ b/plugins/modules/ec2_vpc_vpn_info.py @@ -21,12 +21,14 @@ See U(https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_DescribeVpnConnections.html) for possible filters. required: false type: dict + default: {} vpn_connection_ids: description: - Get details of a specific VPN connections using vpn connection ID/IDs. This value should be provided as a list. required: false type: list elements: str + default: [] extends_documentation_fragment: - amazon.aws.aws - amazon.aws.ec2