Google Cloud Deployment Manager is an infrastructure deployment service that automates the creation and management of Google Cloud Platform resources.
Questions tagged [google-deployment-manager]
252 questions
0
votes
1 answer
Hostname not resolving for CE in same network
I'm doing a deployment of 4 CE in 2 different zones (bastion in europe-west1-c and the other ones in europe-west2-c). I can ssh from cassandra-node-1 to cassandra-node-2 just using the hostname:
pedro_gordo_gmail_com@cassandra-node-1:~$ ssh…

Pedro Gordo
- 1,825
- 3
- 21
- 45
0
votes
1 answer
Managed Service Account does not have enough permissions while adding ObjectAcessControl
Trying to add object control access on deployment-manager:
- type: storage.v1.objectAccessControl
name: url-access
properties:
role: READER
bucket: "bucket"
object: "object"
entity: "email"
And I'm getting this error:
ERROR:…

Ramon Medeiros
- 2,272
- 2
- 24
- 41
0
votes
3 answers
Unable to set high availability for Cloud SQL
I am trying to create Cloud SQL using Deployment Manager.
Most of my configuration works apart from settings.availabilityType
jinja file -- That works
resources:
- name: dev-01
type: gcp-types/sqladmin-v1beta4:instances
properties:
…

niklodeon
- 1,320
- 5
- 20
- 51
0
votes
0 answers
/pip-install.sh initializationActions error in GCP Deployment Manager
I am setting up entire GCP architecture using Deployment Manager using Python template structure.
I have tried to execute the script below:
'name': 'dataproccluster',
'type': 'dataproc.py',
'subnetwork': 'default',
…

Organic Platypus
- 61
- 7
0
votes
4 answers
Unable to set true/false as an environment variable's value for Cloud Function
I am writing a Deployment Manager script which creates a Cloud Function and sets some environment variables.
Everything works well apart from the fact that one of my properties/variables is not recognized by the Deployment Manager correctly. I keep…

niklodeon
- 1,320
- 5
- 20
- 51
0
votes
0 answers
How create user with provided password within GDM template?
Via deployment manager template, I need to create a windows vm and have a user account created with password that end-user specifies as an input.
So far, I have following in my template:
resources:
- name: {{ properties["instance_name"] }}
…

premysl
- 3
- 1
- 3
0
votes
0 answers
How can I use deployment manager to create a new service account and topic and only give it access to that topic?
I can create a new pub/sub topic in my templates and a new service account.
I can see how to give that service account project wide pub/sub access: https://cloud.google.com/deployment-manager/docs/configuration/set-access-control-resources
Also that…

red888
- 27,709
- 55
- 204
- 392
0
votes
1 answer
Dataproc: Deployment Manager equivalent of gcloud --optional-components ANACONDA,JUPYTER
I would like to include --optional-components ANACONDA,JUPYTER in my CICD deployment using Deployment Manager
I have tried to place it in python template configuration under metadata secion as well as directly in properties, I checked schemas,…

Organic Platypus
- 61
- 7
0
votes
1 answer
How do I shared a schema between templates?
https://cloud.google.com/deployment-manager/docs/configuration/templates/using-schemas
Im using jinja templates that depend on other jinja templates so I MUST use a schema to import them
This is all my schema has in…

red888
- 27,709
- 55
- 204
- 392
0
votes
1 answer
How do I add labels to a deployment?
I have this template:
resources:
- name: resource-name
type: 'gcp-types/cloudfunctions-v1:projects.locations.functions'
properties:
labels:
- key: testlabel1
value: testlabel1value
- key: testlabel2
value:…

red888
- 27,709
- 55
- 204
- 392
0
votes
1 answer
How do you programmatically import files in Google Deployment Manager
I'm looking at this example which uses deployment manager to deploy a cloud function: https://github.com/GoogleCloudPlatform/deploymentmanager-samples/tree/master/examples/v2/cloud_functions
One of the things that makes this unwieldy and not very…

red888
- 27,709
- 55
- 204
- 392
0
votes
1 answer
Creating private gke cluster
Creating private gke cluster with yaml.
Currently looking into creating a private gke. tried adding private settings in yaml file but getting error
resources:
- name: myclus
type: gcp-types/container-v1:projects.locations.clusters
properties:
…

k2swat
- 11
- 5
0
votes
2 answers
How to ingest variable data like passwords into compute instance when deploying from template
We are trying to figure out how we can create a compute engine template and set some information like passwords with the help of variables in the moment when the final instance is generated by deployment manager, not in the base image.
When…

Heiwu
- 107
- 10
0
votes
1 answer
BQ Schedule Queries with Deployment Manager: "P4 service account needs iam.serviceAccounts.getAccessToken permission"
I’m trying to create a deployment manager template for bigquery data transfer to initiate a scheduled query. I’ve created a type provider for transfer configs and when I call the type provider for a scheduled query, I get the following error:
"P4…

Tanya Srinidhi
- 1
- 1
0
votes
1 answer
Is it possible to Create/Attach a snapshot schedule using Deployment Manager?
I have a google cloud Deployment Manager template which creates a load-balanced application.
Traffic is distributed to VM instances that are created through an autoscaler.
I want to attach a snapshot schedule to the disk of every instance created…

albetancourt
- 38
- 2