From a370221b2c46f48521cda46c63c4fe97525f8053 Mon Sep 17 00:00:00 2001 From: The Magician Date: Fri, 10 Apr 2020 15:40:04 -0700 Subject: [PATCH] Global NEG (#3333) (#192) * Adding external neg with fqdn * Add decoder to fetch networkEndpoint * Test passing, add custom import, decoder * Fix old test * Exclude from ansible/inspec * networkEndpointGroup -> globalNetworkEndpointGroup for global endpoint * Rebase, dont pre delete empty fields * Delete unused file Signed-off-by: Modular Magician --- plugins/modules/gcp_compute_network_endpoint_group.py | 8 ++++---- .../modules/gcp_compute_network_endpoint_group_info.py | 4 ++-- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/plugins/modules/gcp_compute_network_endpoint_group.py b/plugins/modules/gcp_compute_network_endpoint_group.py index 9df15d9..361990a 100644 --- a/plugins/modules/gcp_compute_network_endpoint_group.py +++ b/plugins/modules/gcp_compute_network_endpoint_group.py @@ -73,8 +73,8 @@ options: type: str network_endpoint_type: description: - - Type of network endpoints in this network endpoint group. Currently the only - supported value is GCE_VM_IP_PORT. + - Type of network endpoints in this network endpoint group. The only supported + value is GCE_VM_IP_PORT . - 'Some valid choices include: "GCE_VM_IP_PORT"' required: false default: GCE_VM_IP_PORT @@ -222,8 +222,8 @@ description: type: str networkEndpointType: description: - - Type of network endpoints in this network endpoint group. Currently the only supported - value is GCE_VM_IP_PORT. + - Type of network endpoints in this network endpoint group. The only supported value + is GCE_VM_IP_PORT . returned: success type: str size: diff --git a/plugins/modules/gcp_compute_network_endpoint_group_info.py b/plugins/modules/gcp_compute_network_endpoint_group_info.py index 17ac045..7c463a4 100644 --- a/plugins/modules/gcp_compute_network_endpoint_group_info.py +++ b/plugins/modules/gcp_compute_network_endpoint_group_info.py @@ -141,8 +141,8 @@ resources: type: str networkEndpointType: description: - - Type of network endpoints in this network endpoint group. Currently the only - supported value is GCE_VM_IP_PORT. + - Type of network endpoints in this network endpoint group. The only supported + value is GCE_VM_IP_PORT . returned: success type: str size: