Skip to content

Commit

Permalink
GCE: Added network tags support (ansible-community#272)
Browse files Browse the repository at this point in the history
Added gce network tags support
  • Loading branch information
dfisiuk authored Oct 4, 2024
1 parent 8b2e896 commit 1555b61
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,7 @@
subnetwork:
selfLink: "{{ gcp_snet }}"
access_configs: "{{ [{'name': 'instance_ip', 'type': 'ONE_TO_ONE_NAT'}] if molecule_yml.driver.external_access else [] }}"
tags: "{{ item.tags | default(omit) }}"
zone: "{{ item.zone | default(molecule_yml.driver.region + '-b') }}"
project: "{{ gcp_project_id }}"
scopes: "{{ molecule_yml.driver.scopes | default(['https://www.googleapis.com/auth/compute'], True) }}"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@
subnetwork:
selfLink: "{{ gcp_snet }}"
access_configs: "{{ [{'name': 'instance_ip', 'type': 'ONE_TO_ONE_NAT'}] if molecule_yml.driver.external_access else [] }}"
tags: "{{ item.tags | default(omit) }}"
zone: "{{ item.zone | default(molecule_yml.driver.region + '-b') }}"
project: "{{ gcp_project_id }}"
scopes: "{{ molecule_yml.driver.scopes | default(['https://www.googleapis.com/auth/compute'], True) }}"
Expand Down

0 comments on commit 1555b61

Please sign in to comment.