tests: fix key_ring and redis

- gcp_key_ring was already passing, needed to be enabled.
- gcp_redis_instance was using legacy networks, switch to net networks.
This commit is contained in:
Yusuke Tsutsumi 2022-10-09 05:45:37 +00:00
parent f1f41177e4
commit 1a753eff05
5 changed files with 6 additions and 5 deletions

View file

@ -21,6 +21,7 @@ SERVICE_LIST=(
"dns" "dns"
"file.googleapis.com" "file.googleapis.com"
"ml.googleapis.com" "ml.googleapis.com"
"redis.googleapis.com"
"runtimeconfig.googleapis.com" "runtimeconfig.googleapis.com"
"sourcerepo.googleapis.com" "sourcerepo.googleapis.com"
"spanner.googleapis.com" "spanner.googleapis.com"

View file

@ -1,2 +1 @@
cloud/gcp cloud/gcp
unsupported

View file

@ -1,2 +1,2 @@
cloud/gcp cloud/gcp
unsupported unsupported

View file

@ -1,2 +1 @@
cloud/gcp cloud/gcp
unsupported

View file

@ -19,6 +19,7 @@
project: "{{ gcp_project }}" project: "{{ gcp_project }}"
auth_kind: "{{ gcp_cred_kind }}" auth_kind: "{{ gcp_cred_kind }}"
service_account_file: "{{ gcp_cred_file }}" service_account_file: "{{ gcp_cred_file }}"
auto_create_subnetworks: true
state: present state: present
register: network register: network
- name: delete a instance - name: delete a instance
@ -165,6 +166,7 @@
project: "{{ gcp_project }}" project: "{{ gcp_project }}"
auth_kind: "{{ gcp_cred_kind }}" auth_kind: "{{ gcp_cred_kind }}"
service_account_file: "{{ gcp_cred_file }}" service_account_file: "{{ gcp_cred_file }}"
auto_create_subnetworks: true
state: absent state: absent
register: network register: network
ignore_errors: true ignore_errors: true