diff --git a/plugins/modules/gcp_compute_backend_service.py b/plugins/modules/gcp_compute_backend_service.py index ee96efa..135fafd 100644 --- a/plugins/modules/gcp_compute_backend_service.py +++ b/plugins/modules/gcp_compute_backend_service.py @@ -339,7 +339,7 @@ EXAMPLES = ''' gcp_compute_backend_service: name: test_object backends: - - group: "{{ instancegroup }}" + - group: "{{ instancegroup.selfLink }}" health_checks: - "{{ healthcheck.selfLink }}" enable_cdn: 'true' diff --git a/plugins/modules/gcp_compute_global_forwarding_rule.py b/plugins/modules/gcp_compute_global_forwarding_rule.py index c4b34c7..cb93e15 100644 --- a/plugins/modules/gcp_compute_global_forwarding_rule.py +++ b/plugins/modules/gcp_compute_global_forwarding_rule.py @@ -181,7 +181,7 @@ EXAMPLES = ''' gcp_compute_backend_service: name: backendservice-globalforwardingrule backends: - - group: "{{ instancegroup }}" + - group: "{{ instancegroup.selfLink }}" health_checks: - "{{ healthcheck.selfLink }}" enable_cdn: 'true' diff --git a/plugins/modules/gcp_compute_target_http_proxy.py b/plugins/modules/gcp_compute_target_http_proxy.py index 77ac93c..c7e73c1 100644 --- a/plugins/modules/gcp_compute_target_http_proxy.py +++ b/plugins/modules/gcp_compute_target_http_proxy.py @@ -105,7 +105,7 @@ EXAMPLES = ''' gcp_compute_backend_service: name: backendservice-targethttpproxy backends: - - group: "{{ instancegroup }}" + - group: "{{ instancegroup.selfLink }}" health_checks: - "{{ healthcheck.selfLink }}" enable_cdn: 'true' diff --git a/plugins/modules/gcp_compute_target_https_proxy.py b/plugins/modules/gcp_compute_target_https_proxy.py index ea6088f..d9634e8 100644 --- a/plugins/modules/gcp_compute_target_https_proxy.py +++ b/plugins/modules/gcp_compute_target_https_proxy.py @@ -133,7 +133,7 @@ EXAMPLES = ''' gcp_compute_backend_service: name: backendservice-targethttpsproxy backends: - - group: "{{ instancegroup }}" + - group: "{{ instancegroup.selfLink }}" health_checks: - "{{ healthcheck.selfLink }}" enable_cdn: 'true' diff --git a/plugins/modules/gcp_compute_target_ssl_proxy.py b/plugins/modules/gcp_compute_target_ssl_proxy.py index 342caa8..2128a76 100644 --- a/plugins/modules/gcp_compute_target_ssl_proxy.py +++ b/plugins/modules/gcp_compute_target_ssl_proxy.py @@ -132,7 +132,7 @@ EXAMPLES = ''' gcp_compute_backend_service: name: backendservice-targetsslproxy backends: - - group: "{{ instancegroup }}" + - group: "{{ instancegroup.selfLink }}" health_checks: - "{{ healthcheck.selfLink }}" protocol: SSL diff --git a/plugins/modules/gcp_compute_target_tcp_proxy.py b/plugins/modules/gcp_compute_target_tcp_proxy.py index b6fbd4a..0632dff 100644 --- a/plugins/modules/gcp_compute_target_tcp_proxy.py +++ b/plugins/modules/gcp_compute_target_tcp_proxy.py @@ -114,7 +114,7 @@ EXAMPLES = ''' gcp_compute_backend_service: name: backendservice-targettcpproxy backends: - - group: "{{ instancegroup }}" + - group: "{{ instancegroup.selfLink }}" health_checks: - "{{ healthcheck.selfLink }}" protocol: TCP diff --git a/plugins/modules/gcp_compute_url_map.py b/plugins/modules/gcp_compute_url_map.py index 74ed45a..74a68f2 100644 --- a/plugins/modules/gcp_compute_url_map.py +++ b/plugins/modules/gcp_compute_url_map.py @@ -195,7 +195,7 @@ EXAMPLES = ''' gcp_compute_backend_service: name: backendservice-urlmap backends: - - group: "{{ instancegroup }}" + - group: "{{ instancegroup.selfLink }}" health_checks: - "{{ healthcheck.selfLink }}" enable_cdn: 'true' diff --git a/tests/integration/gcp_compute_backend_service/tasks/main.yml b/tests/integration/gcp_compute_backend_service/tasks/main.yml index aa5502b..5b69756 100644 --- a/tests/integration/gcp_compute_backend_service/tasks/main.yml +++ b/tests/integration/gcp_compute_backend_service/tasks/main.yml @@ -38,7 +38,7 @@ gcp_compute_backend_service: name: "{{ resource_name }}" backends: - - group: "{{ instancegroup }}" + - group: "{{ instancegroup.selfLink }}" health_checks: - "{{ healthcheck.selfLink }}" enable_cdn: 'true' @@ -51,7 +51,7 @@ gcp_compute_backend_service: name: "{{ resource_name }}" backends: - - group: "{{ instancegroup }}" + - group: "{{ instancegroup.selfLink }}" health_checks: - "{{ healthcheck.selfLink }}" enable_cdn: 'true' @@ -84,7 +84,7 @@ gcp_compute_backend_service: name: "{{ resource_name }}" backends: - - group: "{{ instancegroup }}" + - group: "{{ instancegroup.selfLink }}" health_checks: - "{{ healthcheck.selfLink }}" enable_cdn: 'true' @@ -103,7 +103,7 @@ gcp_compute_backend_service: name: "{{ resource_name }}" backends: - - group: "{{ instancegroup }}" + - group: "{{ instancegroup.selfLink }}" health_checks: - "{{ healthcheck.selfLink }}" enable_cdn: 'true' @@ -136,7 +136,7 @@ gcp_compute_backend_service: name: "{{ resource_name }}" backends: - - group: "{{ instancegroup }}" + - group: "{{ instancegroup.selfLink }}" health_checks: - "{{ healthcheck.selfLink }}" enable_cdn: 'true' diff --git a/tests/integration/gcp_compute_global_forwarding_rule/tasks/main.yml b/tests/integration/gcp_compute_global_forwarding_rule/tasks/main.yml index 7fe60b9..b33eebd 100644 --- a/tests/integration/gcp_compute_global_forwarding_rule/tasks/main.yml +++ b/tests/integration/gcp_compute_global_forwarding_rule/tasks/main.yml @@ -46,7 +46,7 @@ gcp_compute_backend_service: name: backendservice-globalforwardingrule backends: - - group: "{{ instancegroup }}" + - group: "{{ instancegroup.selfLink }}" health_checks: - "{{ healthcheck.selfLink }}" enable_cdn: 'true' @@ -211,7 +211,7 @@ gcp_compute_backend_service: name: backendservice-globalforwardingrule backends: - - group: "{{ instancegroup }}" + - group: "{{ instancegroup.selfLink }}" health_checks: - "{{ healthcheck.selfLink }}" enable_cdn: 'true' diff --git a/tests/integration/gcp_compute_target_http_proxy/tasks/main.yml b/tests/integration/gcp_compute_target_http_proxy/tasks/main.yml index b4e3327..1461073 100644 --- a/tests/integration/gcp_compute_target_http_proxy/tasks/main.yml +++ b/tests/integration/gcp_compute_target_http_proxy/tasks/main.yml @@ -38,7 +38,7 @@ gcp_compute_backend_service: name: backendservice-targethttpproxy backends: - - group: "{{ instancegroup }}" + - group: "{{ instancegroup.selfLink }}" health_checks: - "{{ healthcheck.selfLink }}" enable_cdn: 'true' @@ -169,7 +169,7 @@ gcp_compute_backend_service: name: backendservice-targethttpproxy backends: - - group: "{{ instancegroup }}" + - group: "{{ instancegroup.selfLink }}" health_checks: - "{{ healthcheck.selfLink }}" enable_cdn: 'true' diff --git a/tests/integration/gcp_compute_target_https_proxy/tasks/main.yml b/tests/integration/gcp_compute_target_https_proxy/tasks/main.yml index d62cacb..41e6f58 100644 --- a/tests/integration/gcp_compute_target_https_proxy/tasks/main.yml +++ b/tests/integration/gcp_compute_target_https_proxy/tasks/main.yml @@ -38,7 +38,7 @@ gcp_compute_backend_service: name: backendservice-targethttpsproxy backends: - - group: "{{ instancegroup }}" + - group: "{{ instancegroup.selfLink }}" health_checks: - "{{ healthcheck.selfLink }}" enable_cdn: 'true' @@ -222,7 +222,7 @@ gcp_compute_backend_service: name: backendservice-targethttpsproxy backends: - - group: "{{ instancegroup }}" + - group: "{{ instancegroup.selfLink }}" health_checks: - "{{ healthcheck.selfLink }}" enable_cdn: 'true' diff --git a/tests/integration/gcp_compute_target_ssl_proxy/tasks/main.yml b/tests/integration/gcp_compute_target_ssl_proxy/tasks/main.yml index 00215f7..dacc8b7 100644 --- a/tests/integration/gcp_compute_target_ssl_proxy/tasks/main.yml +++ b/tests/integration/gcp_compute_target_ssl_proxy/tasks/main.yml @@ -42,7 +42,7 @@ gcp_compute_backend_service: name: backendservice-targetsslproxy backends: - - group: "{{ instancegroup }}" + - group: "{{ instancegroup.selfLink }}" health_checks: - "{{ healthcheck.selfLink }}" protocol: SSL @@ -207,7 +207,7 @@ gcp_compute_backend_service: name: backendservice-targetsslproxy backends: - - group: "{{ instancegroup }}" + - group: "{{ instancegroup.selfLink }}" health_checks: - "{{ healthcheck.selfLink }}" protocol: SSL diff --git a/tests/integration/gcp_compute_target_tcp_proxy/tasks/main.yml b/tests/integration/gcp_compute_target_tcp_proxy/tasks/main.yml index 5ad77de..9c0713c 100644 --- a/tests/integration/gcp_compute_target_tcp_proxy/tasks/main.yml +++ b/tests/integration/gcp_compute_target_tcp_proxy/tasks/main.yml @@ -42,7 +42,7 @@ gcp_compute_backend_service: name: backendservice-targettcpproxy backends: - - group: "{{ instancegroup }}" + - group: "{{ instancegroup.selfLink }}" health_checks: - "{{ healthcheck.selfLink }}" protocol: TCP @@ -159,7 +159,7 @@ gcp_compute_backend_service: name: backendservice-targettcpproxy backends: - - group: "{{ instancegroup }}" + - group: "{{ instancegroup.selfLink }}" health_checks: - "{{ healthcheck.selfLink }}" protocol: TCP diff --git a/tests/integration/gcp_compute_url_map/tasks/main.yml b/tests/integration/gcp_compute_url_map/tasks/main.yml index 2361a63..e359dd7 100644 --- a/tests/integration/gcp_compute_url_map/tasks/main.yml +++ b/tests/integration/gcp_compute_url_map/tasks/main.yml @@ -38,7 +38,7 @@ gcp_compute_backend_service: name: backendservice-urlmap backends: - - group: "{{ instancegroup }}" + - group: "{{ instancegroup.selfLink }}" health_checks: - "{{ healthcheck.selfLink }}" enable_cdn: 'true' @@ -150,7 +150,7 @@ gcp_compute_backend_service: name: backendservice-urlmap backends: - - group: "{{ instancegroup }}" + - group: "{{ instancegroup.selfLink }}" health_checks: - "{{ healthcheck.selfLink }}" enable_cdn: 'true'