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
4
votes
1 answer
How to generate Cloud Deployment Manager configuration YAML from GUI?
Is there a way to generate Cloud Deployment Manager configuration file from the Web UI? I notice we can do so to get the equivalent REST or command line (click the links on the bottom):
The result:
If we can't do it from Web UI, is there a tool to…

Pahlevi Fikri Auliya
- 4,157
- 8
- 35
- 71
4
votes
1 answer
Unable to subscribe to a google pub sub topic using a service account
I was trying to understand example given in google cloud samples present in this link
IAM Example
This example creates a service account, a VM, and a Pub/Sub topic. The VM runs as the service account, and the service account has subscriber access to…

Neeraj Kumar
- 836
- 1
- 10
- 29
4
votes
1 answer
Cannot delete deployment from google cloud
I'm trying to create a couple of deployment templates for airflow on GCP / Kubernetes. In that deployment, I seek to deploy all dependent managed services together with some required users and passwords.
I've been able to deploy the services, but it…

radialmind
- 279
- 2
- 15
3
votes
1 answer
GCP Deployment Manager: Templates automcomplete/validation?
It's hard to navigate through all the docs given the number of services and properties involved in creating templates for the Deployment Manager. I wonder if there is a solution for that. I imagine that code editors like VS-Code are supposed to have…

stkvtflw
- 12,092
- 26
- 78
- 155
3
votes
1 answer
Create Cloud Run service with Deployment Manager
I'm trying to create a Cloud Run service using the Deployment Manager, as there's no native support for Cloud Run resource type, I created a type provider for the Cloud Run API by providing it's descriptor at…

Luth
- 31
- 2
3
votes
1 answer
How to create a Network Endpoint Group via GCP Deployment Manager
I am trying to use the Google Cloud Deployment Manager to create a Network Endpoint Group for my App Engine Load Balancer. I can't find an existing resource type for it so I am trying to use a custom type provider…

bygrace
- 5,868
- 1
- 31
- 58
3
votes
1 answer
How to create a folder & a project under it with Deployment Manager (Google Cloud Platform)
In a single Deployment Manager template, how do I create a new folder and a new project underneath it? The problem is that the reference to the folder includes a name in the format folders/123456, but the project requires a parent field in the…

Thomas Ruble
- 842
- 6
- 14
3
votes
2 answers
GCP Cloud Deployment Load Balancer Backend Bucket
How to deploy a web page architecture from a GCP Cloud Deployment yaml, which includes static files in a storage and a load balancer that has a backend bucket connected to this storage?
We need the load balancer to connect it to the GCP CDN.

pcortez
- 348
- 2
- 11
3
votes
1 answer
Google Deployment manager create a resource if not exist?
Is there a way to create a resource if it doesn't exist and use an existing resource if it does?
resources:
- name: "my-topic"
type: gcp-types/pubsub-v1:projects.topics
properties:
topic: "this-exists-already"
- name:…

red888
- 27,709
- 55
- 204
- 392
3
votes
2 answers
google cloud functions command to package without deploying
I must be missing something because I cant find this option here: https://cloud.google.com/sdk/gcloud/reference/beta/functions/deploy
I want to package and upload my function to a bucket: --stage-bucket
But not actually deploy the function
I'm going…

red888
- 27,709
- 55
- 204
- 392
3
votes
1 answer
google deployment manager, can you import files in jinja template that you call directly with --template?
https://cloud.google.com/deployment-manager/docs/configuration/templates/create-basic-template
I can deploy a template directly like this: gcloud deployment-manager deployments create a-single-vm --template vm_template.jinja
But what if that…

red888
- 27,709
- 55
- 204
- 392
3
votes
2 answers
Add Environment variables while creating a Google Compute Engine VM Instance
I'm creating a VM instance through cloud function in GCE.I want to add some environment variables to the Instance during creation.
I'm referring this code for instance…

ezvine
- 751
- 1
- 8
- 23
3
votes
1 answer
Use a Stackdriver resource group's ID in a GCP Deployment Manager configuration
I'm trying to create a Stackdriver alert policy with a Deployment Manager configuration. The same configuration first creates a resource group and a notification channel and then a policy based on those:
resources:
- name: test-group
type:…

Milen A. Radev
- 60,241
- 22
- 105
- 110
3
votes
0 answers
Manipulating Cloud Deployment Manager References
$(ref.uptimecheck-example_com.name)
Above is a reference coming from an uptimecheck resource (gcp-types/monitoring-v3:projects.uptimeCheckConfigs) whose value is something like projects/[PROJECT_ID]/uptimeCheckConfigs/[UPTIME_CHECK_ID]
But I just…

Dean Christian Armada
- 6,724
- 9
- 67
- 116
3
votes
1 answer
Google deployment manager runtime policy metadata
What is the difference between Google deployment manager UPDATE_ON_CHANGE and UPDATE_ALWAYS metadata runtime policy ? An example highlighting the difference would be very useful.
I searched through the documentation but could not find any useful…

Varunkumar Manohar
- 887
- 3
- 11
- 29