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

Running scripts in deployment manager

How do I run script along side a cluster instance that I am creating for configuring sql proxy using Google Deployment Manager ?
warrior22123
  • 27
  • 1
  • 4
0
votes
1 answer

Is it necessary to create users and database instances sequentially while using Infrastructure as Code?

I was seeing this Deployment Manager template on Google Foundation Toolkit on Github I am not able to get it what this line is for. Github Repo
0
votes
0 answers

Possible to use yaml array in --properties with `gcloud deployment-manager`?

Is it possible to use a yaml array in --properties with gcloud deployment-manager? I've tried something like: gcloud deployment-manager deployments create my-deployment --template my-firewall.py --properties "ips:['127.0.0.1','127.0.0.2']" And I…
ahong
  • 1,041
  • 2
  • 10
  • 22
0
votes
1 answer

Create BigQuery materialized view using Cloud Deployment Manager

I can create native and external tables, as well as views in BigQuery using Deployment Manager, however, there doesn't seem to be any way to create a materialized view. Page at: https://cloud.google.com/bigquery/docs/materialized-views-intro says…
0
votes
1 answer

GCP Deployment Manager - "Invalid config files: Template fetching failed: Failed to find imported template 'apis.py' for resource"

Take the following .yaml file: imports: - path: apis.py resources: - name: test-project type: cloudresourcemanager.v1.project properties: name: test-project projectId: test-project parent: type: folder id: '' - name:…
0
votes
1 answer

GCP Deployment Manager "ResourceErrorCode":"400" while database user creation

I am experimenting with deployment manager and each time I try to deploy an SQL instance with a DB on it and 2 users; some of the tasks are failing. Most of the time they are the users: conf.yaml: resources: - name: mycloudsql type:…
0
votes
2 answers

Best practices for deploying a new container image to an autoscaling managed instance group on GCP?

We have a managed instance group on GCP which is configured with an autoscaling rule. The instance group references an instance template that was created via gcloud compute instance-templates create-with-container. The container image is hosted on…
0
votes
1 answer

Does a good tool exist to work with Google Cloud Platform Deployment manager files?

To edit configuration files that can be used by GCP Deployment manager I found no tools providing auto completion. As the article Creating a Basic Configuration suggests, a human being should manually search for valid values using gcloud…
0
votes
1 answer

Unable to update GCP deployment using Java deployment manager SDK

I'm trying to write an application to manage GCP deployments using the Deployment Manager SDK for Java. I'm able to list deployments successfully but unable to update a deployment as the SDK throws an exception shown…
sihil
  • 2,563
  • 1
  • 17
  • 24
0
votes
1 answer

How to create a service account with multiple roles? Google Cloud Deployment Manager

Below i am creating a service account and binding 1 role to it. Does anyone know how i bind more than 1 role at a time? def GenerateConfig(context): project_id = context.env['project'] service_account =…
0
votes
1 answer

Google App Engine ClassNotFound after Deployment but it Works on Local

I have a problem and I don't know how to solve it. I want to deploy my Spring Boot App with Gradle to Google App Engine. It works well on my Local Machine and when I use the Gradle task AppEngine run it works great as well, but when I deploy it and…
0
votes
1 answer

GCP Deployment manager: How to use a static IP address already reserved

I have a working GCP-Deployment-Manager setup, consisting of a .jinja instance template and a config.yaml file. Using the Google Cloud Console, I also have created a GCP reserved IP address. Now I want to assign that IP address to the newly deployed…
knb
  • 9,138
  • 4
  • 58
  • 85
0
votes
0 answers

DM create bigquery view then authorize it on dataset

Using Google Deployment Manager, has anybody found a way to first create a view in BigQuery, then authorize one or more datasets used by the view, sometimes in different projects, and were not created/managed by deployment manager? Creating a…
0
votes
1 answer

How to update loggingService of container.v1.cluster with deployment-manager

I want to set the loggingService field of an existing container.v1.cluster through deployment-manager. I have the following config resources: - name: px-cluster-1 …
0
votes
1 answer

Is it possible to set an IAM policy and as a condition, remove it when the account is gone

Looking for the setIamPolicy, saw that is possible to set a condition for the policy. For example: bindings: - members: - serviceAccount:my-project-id@appspot.gserviceaccount.com role: roles/resourcemanager.organizationAdmin condition: …
Ramon Medeiros
  • 2,272
  • 2
  • 24
  • 41