diff --git a/lib/ansible/modules/cloud/google/gcp_compute_forwarding_rule.py b/lib/ansible/modules/cloud/google/gcp_compute_forwarding_rule.py index 3597dce6aaf..57d9aa27085 100644 --- a/lib/ansible/modules/cloud/google/gcp_compute_forwarding_rule.py +++ b/lib/ansible/modules/cloud/google/gcp_compute_forwarding_rule.py @@ -106,12 +106,14 @@ options: type: str load_balancing_scheme: description: - - 'This signifies what the ForwardingRule will be used for and can only take the - following values: INTERNAL, EXTERNAL The value of INTERNAL means that this will - be used for Internal Network Load Balancing (TCP, UDP). The value of EXTERNAL - means that this will be used for External Load Balancing (HTTP(S) LB, External - TCP/UDP LB, SSL Proxy) .' - - 'Some valid choices include: "INTERNAL", "EXTERNAL"' + - This signifies what the ForwardingRule will be used for and can be EXTERNAL, + INTERNAL, or INTERNAL_MANAGED. EXTERNAL is used for Classic Cloud VPN gateways, + protocol forwarding to VMs from an external IP address, and HTTP(S), SSL Proxy, + TCP Proxy, and Network TCP/UDP load balancers. + - INTERNAL is used for protocol forwarding to VMs from an internal IP address, + and internal TCP/UDP load balancers. + - INTERNAL_MANAGED is used for internal HTTP(S) load balancers. + - 'Some valid choices include: "EXTERNAL", "INTERNAL", "INTERNAL_MANAGED"' required: false type: str name: @@ -372,11 +374,13 @@ ipVersion: type: str loadBalancingScheme: description: - - 'This signifies what the ForwardingRule will be used for and can only take the - following values: INTERNAL, EXTERNAL The value of INTERNAL means that this will - be used for Internal Network Load Balancing (TCP, UDP). The value of EXTERNAL - means that this will be used for External Load Balancing (HTTP(S) LB, External - TCP/UDP LB, SSL Proxy) .' + - This signifies what the ForwardingRule will be used for and can be EXTERNAL, INTERNAL, + or INTERNAL_MANAGED. EXTERNAL is used for Classic Cloud VPN gateways, protocol + forwarding to VMs from an external IP address, and HTTP(S), SSL Proxy, TCP Proxy, + and Network TCP/UDP load balancers. + - INTERNAL is used for protocol forwarding to VMs from an internal IP address, and + internal TCP/UDP load balancers. + - INTERNAL_MANAGED is used for internal HTTP(S) load balancers. returned: success type: str name: diff --git a/lib/ansible/modules/cloud/google/gcp_compute_forwarding_rule_info.py b/lib/ansible/modules/cloud/google/gcp_compute_forwarding_rule_info.py index b267048416a..dae87fa22f5 100644 --- a/lib/ansible/modules/cloud/google/gcp_compute_forwarding_rule_info.py +++ b/lib/ansible/modules/cloud/google/gcp_compute_forwarding_rule_info.py @@ -178,11 +178,13 @@ resources: type: str loadBalancingScheme: description: - - 'This signifies what the ForwardingRule will be used for and can only take - the following values: INTERNAL, EXTERNAL The value of INTERNAL means that - this will be used for Internal Network Load Balancing (TCP, UDP). The value - of EXTERNAL means that this will be used for External Load Balancing (HTTP(S) - LB, External TCP/UDP LB, SSL Proxy) .' + - This signifies what the ForwardingRule will be used for and can be EXTERNAL, + INTERNAL, or INTERNAL_MANAGED. EXTERNAL is used for Classic Cloud VPN gateways, + protocol forwarding to VMs from an external IP address, and HTTP(S), SSL Proxy, + TCP Proxy, and Network TCP/UDP load balancers. + - INTERNAL is used for protocol forwarding to VMs from an internal IP address, + and internal TCP/UDP load balancers. + - INTERNAL_MANAGED is used for internal HTTP(S) load balancers. returned: success type: str name: diff --git a/lib/ansible/modules/cloud/google/gcp_compute_global_forwarding_rule.py b/lib/ansible/modules/cloud/google/gcp_compute_global_forwarding_rule.py index fa3b0484ce6..74c2e6c506c 100644 --- a/lib/ansible/modules/cloud/google/gcp_compute_global_forwarding_rule.py +++ b/lib/ansible/modules/cloud/google/gcp_compute_global_forwarding_rule.py @@ -103,7 +103,7 @@ options: Global HTTP(S) LB. The value of EXTERNAL means that this will be used for External Global Load Balancing (HTTP(S) LB, External TCP/UDP LB, SSL Proxy) NOTE: Currently global forwarding rules cannot be used for INTERNAL load balancing.' - - 'Some valid choices include: "INTERNAL_SELF_MANAGED", "EXTERNAL"' + - 'Some valid choices include: "EXTERNAL", "INTERNAL_SELF_MANAGED"' required: false default: EXTERNAL type: str