From d52e5f0c3c82194df203e3a3bb6f80681ba86675 Mon Sep 17 00:00:00 2001 From: Yusuke Tsutsumi Date: Sat, 8 Oct 2022 18:24:04 +0000 Subject: [PATCH] tests: fix google_compute_route test google_compute_route was creating legacy subnetworks in the example, which are now deprecated. --- tests/integration/targets/gcp_compute_route/aliases | 3 +-- tests/integration/targets/gcp_compute_route/tasks/autogen.yml | 2 ++ 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/tests/integration/targets/gcp_compute_route/aliases b/tests/integration/targets/gcp_compute_route/aliases index 9812f01..0e4419e 100644 --- a/tests/integration/targets/gcp_compute_route/aliases +++ b/tests/integration/targets/gcp_compute_route/aliases @@ -1,2 +1 @@ -cloud/gcp -unsupported +cloud/gcp \ No newline at end of file diff --git a/tests/integration/targets/gcp_compute_route/tasks/autogen.yml b/tests/integration/targets/gcp_compute_route/tasks/autogen.yml index cd11426..b687de9 100644 --- a/tests/integration/targets/gcp_compute_route/tasks/autogen.yml +++ b/tests/integration/targets/gcp_compute_route/tasks/autogen.yml @@ -19,6 +19,7 @@ project: "{{ gcp_project }}" auth_kind: "{{ gcp_cred_kind }}" service_account_file: "{{ gcp_cred_file }}" + auto_create_subnetworks: true state: present register: network - name: delete a route @@ -147,6 +148,7 @@ project: "{{ gcp_project }}" auth_kind: "{{ gcp_cred_kind }}" service_account_file: "{{ gcp_cred_file }}" + auto_create_subnetworks: true state: absent register: network ignore_errors: true