mirror of
https://github.com/ansible-collections/google.cloud.git
synced 2025-07-27 23:21:31 -07:00
fix compute instance + several tests
compute selflinks return back `wwww.googleapis.com` as the domain, which was causing a perma-diff. Fixing google.cloud's normalization fixes that. Fixing the following tests as well, since creating an instance now works: - gcp_compute_instance - gcp_compute_instance_group - gcp_compute_instance_group_manager - gcp_compute_instance_template - gcp_compute_region_autoscaler - gcp_compute_region_instance_group_manager - gcp_compute_target_instance - gcp_compute_target_pool
This commit is contained in:
parent
4816e97719
commit
4d833f6663
17 changed files with 36 additions and 32 deletions
|
@ -1,2 +1 @@
|
|||
cloud/gcp
|
||||
unsupported
|
||||
cloud/gcp
|
|
@ -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 instance group
|
||||
|
@ -144,6 +145,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