Questions tagged [google-deployment-manager]

Google Cloud Deployment Manager is an infrastructure deployment service that automates the creation and management of Google Cloud Platform resources.

252 questions
0
votes
1 answer

Documentation - Is there a list of available properties for deployment manager resources?

I'm trying to GCP create deployment manager templates for our architecture. For example, while creating a sql instance, this is what I have in my yaml file: - name: carlosinstance type: gcp-types/sqladmin-v1beta4:instances properties: …
0
votes
1 answer

Update an existing deployment using deployment manager update API

I use Java APIs for the CRUD operations of the google cloud deployment manager API. I can create, preview, delete deployments OK. But when I try to update an existing deployment that's in preview mode, the API returns the below error. Deployment in…
0
votes
1 answer

How to set the preview flag for google cloud delpoyment manager deployments.insert() api in Java

I'm trying to preview a configuration before creating it using the Java client libraries for Google Cloud Deployment Manager like shown below. DeploymentManager deploymentManagerService = createDeploymentManagerService(); Deployment requestBody =…
0
votes
1 answer

Deploying CDN through google cloud deployment manager

I am trying to deploy the Google Cloud CDN with my current deployment files which are .yaml and .jinja. I am struggling to find any documentation for this to be possible through the use of these deployment files. Is the deployment of a CDN in my…
0
votes
1 answer

how can I populate dropdown using GCP Deployment Manager

I have a deployment manifest which includes amongst others, a zone property. I want the user to be able to select the zone from a dropdown. I know it is possible to do this in AWS CloudFormation. Is there an equivalent method for GCP DM? There a…
toppur
  • 1,606
  • 13
  • 12
0
votes
2 answers

How do I configure a Google Compute Instance to allow http traffic when deploying from a YAML config file?

As the title suggests, I'm trying to configure a deployment in GCP. At the moment, all the deployment consists of is a single Compute instance, although I am having trouble trying to add the http-server and https-server tags into the config file.…
Cam
  • 2,026
  • 3
  • 25
  • 42
0
votes
1 answer

How to create project by GCP deployment manager API

I can follow the tutorial to create project by gcloud deployment-manager command and template files. My question is how to use deployment manager API to do the same thing. I found the insert method API in the document, but when I use this API to…
Browny Lin
  • 2,427
  • 3
  • 28
  • 32
0
votes
0 answers

Cannot create topic with deployment manager

I am having trouble creating a PubSub topic using the deployment manager. My config.yaml file has the following contents... resources: - name: sam-poc-pubsub-assessment-end-topic # type: pubsub.v1.topic type:…
Greg McFall
  • 219
  • 1
  • 3
  • 10
0
votes
1 answer

How to deploy a compute instance with no public IP

How can I deploy a computer instance with no public IP using GCP Deployment Manager? Looking at the yaml configuration file, I get an error if I don't include anything in accessConfigs. networkInterfaces is also mandatory. At the moment my…
0
votes
1 answer

GCP Deployment Manager - delete firewall rule if exists

I'm trying to delete some firewall rules (default ones) only if they exist using GCP Deployment manager config below but i'm getting some errors, any help would be appreciated: default_vpc_list.jinja: resources: - name: def_firw …
0
votes
1 answer

GKE preemptible VMs using deployment manager

I'm planning to completely adopt the GCP service creation unto Deployment Manager. But based on the documentation, I can not see any options on converting the nodes to be created into the cluster into preemptibles. I am hoping that there is a way…
0
votes
2 answers

Assigning a subnet to a sqladmin instance with jinja

I have deployed a Google Cloud sqladmin instance (sqladmin.v1beta4.instance) and database (sqladmin.v1beta4.database), but I now want to assign it to my private subnet. I have done this successfully with multiple VM's but unable to with the sqladmin…
0
votes
1 answer

GKE Creation from Cloud Deployment Manager

Waiting for create [operation-1544424409972-57ca55456bd22-84bb0f13-64975fdc]...failed. ERROR: (gcloud.deployment-manager.deployments.create) Error in Operation [operation-1544424409972-57ca55456bd22-84bb0f13-64975fdc]: errors: - code:…
0
votes
2 answers

GCP deployment manager create project with new compute instance

I followed this tutorial for creating projects with deployment mangaer: https://cloud.google.com/blog/products/gcp/automating-project-creation-with-google-cloud-deployment-manager Its working nicely, but I am having trouble figuring out how to…
0
votes
1 answer

Include roles in Service Account creation via Deployment Manager

In the current Google Cloud Deployment Manager documents.. Seems like you can not create any roles or permissions with it or am I just missing a property or resource type?