mirror of
https://github.com/ansible-collections/google.cloud.git
synced 2025-07-23 13:20:30 -07:00
tests: fix gcp_compute_vpn_tunnel
- vpn_gateway required minimal changes (stop using legacy load balancers) - compute_vpn_tunnel requires a valid vpn configuration (several dependent forwarding rules and configuration to set up a proper tunnel).
This commit is contained in:
parent
54c14b66f6
commit
ebf095d22d
6 changed files with 229 additions and 14 deletions
|
@ -1,2 +1 @@
|
|||
cloud/gcp
|
||||
unsupported
|
||||
cloud/gcp
|
|
@ -28,6 +28,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 target vpn gateway
|
||||
|
@ -138,6 +139,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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue