diff --git a/plugins/modules/gcp_compute_backend_service.py b/plugins/modules/gcp_compute_backend_service.py index 40350a8..047575e 100644 --- a/plugins/modules/gcp_compute_backend_service.py +++ b/plugins/modules/gcp_compute_backend_service.py @@ -249,8 +249,9 @@ options: description: - Indicates whether the backend service will be used with internal or external load balancing. A backend service created for one type of load balancing cannot - be used with the other. + be used with the other. One of `INTERNAL` or `EXTERNAL`. Defaults to `EXTERNAL`. required: false + default: EXTERNAL version_added: 2.7 choices: - INTERNAL @@ -581,7 +582,7 @@ loadBalancingScheme: description: - Indicates whether the backend service will be used with internal or external load balancing. A backend service created for one type of load balancing cannot be - used with the other. + used with the other. One of `INTERNAL` or `EXTERNAL`. Defaults to `EXTERNAL`. returned: success type: str name: @@ -690,7 +691,7 @@ def main(): type='dict', options=dict(enabled=dict(type='bool'), oauth2_client_id=dict(required=True, type='str'), oauth2_client_secret=dict(required=True, type='str')), ), - load_balancing_scheme=dict(type='str', choices=['INTERNAL', 'EXTERNAL']), + load_balancing_scheme=dict(default='EXTERNAL', type='str', choices=['INTERNAL', 'EXTERNAL']), name=dict(required=True, type='str'), port_name=dict(type='str'), protocol=dict(type='str', choices=['HTTP', 'HTTPS', 'TCP', 'SSL']), diff --git a/plugins/modules/gcp_compute_backend_service_facts.py b/plugins/modules/gcp_compute_backend_service_facts.py index aa8713d..3851ed0 100644 --- a/plugins/modules/gcp_compute_backend_service_facts.py +++ b/plugins/modules/gcp_compute_backend_service_facts.py @@ -295,7 +295,7 @@ items: description: - Indicates whether the backend service will be used with internal or external load balancing. A backend service created for one type of load balancing cannot - be used with the other. + be used with the other. One of `INTERNAL` or `EXTERNAL`. Defaults to `EXTERNAL`. returned: success type: str name: