mirror of
https://github.com/puppetlabs/vmpooler-provider-gce.git
synced 2026-01-26 03:18:41 -05:00
Adding the cloud DNS API library and related methods
we setup DNS when a VM is created and tear it down when a VM is deleted the DNS zone should exist already and is referenced by a provider setting the dns zone is also set in order to use it for vm_ready? instead of the global domain instances have a label that identifies which project they belong to, so it can be used for FW rules
This commit is contained in:
parent
f6ec318b2d
commit
daa55fe5b8
9 changed files with 167 additions and 12 deletions
5
scripts/create_custom_role
Normal file
5
scripts/create_custom_role
Normal file
|
|
@ -0,0 +1,5 @@
|
|||
#!/bin/bash
|
||||
#set your project name in GCE here
|
||||
project_id="vmpooler-test"
|
||||
#this creates a custom role, that should then be applied to a service account used to run the API requests.
|
||||
gcloud iam roles create Customvmpoolerprovider --project=$project-id --file=GCE_custom_role_for_SA.yaml
|
||||
Loading…
Add table
Add a link
Reference in a new issue