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
3
votes
2 answers
GCP project creation via deploymentmanager
So im trying to create a project with google cloud deployment manager,
Ive structured the setup roughly as below:
# Structure
Org -> Folder1 -> Seed-Project(Location where I am running deployment manager from)
Organization:
IAM:
->…

Chronojam
- 175
- 1
- 3
- 13
3
votes
2 answers
Deploy Google Cloud Bigtable with deployment manager
I am trying to deploy a Bigtable instance with the following YAML config file:
resources:
- name: foo-bigtable-instance
type: bigtableadmin.v2.instance
properties:
name: foo
displayName: Foo Bigtable Instance
type:…

Greg McFall
- 219
- 1
- 3
- 10
3
votes
2 answers
Google cloud deployment manager couldn't create deployment using "logging.v2.sink" by Permission Denied
I deployed logging.v2.sink using Google Cloud Deployment Manager, however the deployment was failed by permission denied.
The problem was also happened in this logsink example of Google Cloud Deployment Manager.
The result is following:
- code:…

inoutch
- 133
- 7
3
votes
1 answer
How to update machine type property through GCP deployment manager
I have a python template as shown below for a compute instance type along with other needed config.yaml file.
...
CONTROLLER_MACHINE_TYPE='n1-standard-8'
controller_template = {
'name': 'controller-it',
'type': 'it_template.py',
…

Neeraj Kumar
- 836
- 1
- 10
- 29
3
votes
2 answers
Deployment manager: Not able to expose output through python template
I've created a deployment manager template in python which generates the resource names at runtime so as to create multiple deployments with the same template on google cloud platform. I need to expose external IP address of web server through…

Mauli Jadhav
- 31
- 2
3
votes
2 answers
Google Cloud Deployment Manager: How to set up IAM when creating bucket
I have created a bucket with Google Cloud Deployment Manager ( see below ) but the permissions part is ignored and I could not find any example of setting IAM on while using Google Cloud Deployment Manager. Can you help?
resources:
- name:…

Hector Cuevas
- 31
- 2
2
votes
1 answer
error: instance type null does not match any allowed primitive type
I am trying to create compute instance in gcp using following yaml file (terraform)
resources :
- type : compute.v1.instance
name: quickstart-deployment-vm
properties:
zone: us-central1-f
machineType: f1-micro
disks:
…

AzarEJ
- 552
- 1
- 5
- 16
2
votes
1 answer
How to enable cloud scheduler API, pubsub API, bigquery API, bucket API, cloud build API and cloud function in GCP using deployment manager?
I have written a deployment manager template which will deploy cloud scheduler, pubsub, bigquery, bucket, cloud build, cloud function inside a new project. So when we are deploying for the first time, it is giving an error because by default in a…

Arghya Roy
- 429
- 3
- 13
2
votes
1 answer
How do I override Deployment package defaults in GCP Deployment Manager?
I would like to create an instance of WURFL Microservice Basic from the GCP Marketplace however I'd like to do that programatically so that I can reproduce it if required.
I downloaded the deployment zip file from the above linked page:
and…

jamiet
- 10,501
- 14
- 80
- 159
2
votes
1 answer
Creating Cloud run service with Deployment manager returns "Requested entity was not found." error
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 using the following custom descriptor file.
resources:
- name:…

Sonali Jain
- 319
- 4
- 11
2
votes
1 answer
Unable to add iam policy binding to service account using Google deployment manager
I'm trying to add a policy binding using Google deployment manager to my service account using the below yaml file, but when I tried to deploy it, I'm getting the "Permission denied" Exception.
resources:
- name: test-name-deploy
type:…

snithi
- 23
- 4
2
votes
1 answer
How to deploy an Internal HTTP(S) LoadBalancer using Google Deployment Manager (Python + YAML)?
I'm implementing IaC for a web application consisting of monoliths and microservices. I want to place an internal HTTP load balancer in front of all our microservices and have not found any example for that yet. I looked at Cloud Foundation Toolkit.…

smaikap
- 474
- 1
- 7
- 19
2
votes
1 answer
Magento deployment timeout | Deployment Manager
I have been trying to deploy certain or desired Magento image from Marketplace in google cloud. However, the deployment is failing due to timeout and leaving the deployment resources in an unusable state.
The image im trying to…

Devopsception
- 397
- 1
- 4
- 10
2
votes
1 answer
Python - Convert List Of Dictionaries & Key Values To String
Take the following list of dictionaries and key value pairs:
[{'name': 'test-project',
'properties': {'name': 'test-project',
'parent': {'id': '', 'type': 'folder'},
…

RobTheRobot16
- 323
- 4
- 24
2
votes
1 answer
How to Create a Network and SubNetwork using Google deployment-manager (GCP)
I just started to study GCP deployment-manager and I'm creating a file to create one network and one subnetwork. I did a test using 2 different files (one for each) and worked fine. Now, when I combine the creation of network and subnetwork, there's…

Marcelo Marques
- 57
- 9