Cloud Deployment Manager
-
Support Cloud DNS
Please add support for managing Cloud DNS records from Deployment Manager. This would let us add external DNS records for deployed resources automatically.
63 votes -
Support Service Networking as a public GCP Type
The servicenetworking.googleapis.com is not currently supported by Deployment Manager nor is it a supported GCP-type so this can't be done through DM for now.
This becomes a blocker in trying to create private access to Cloud SQL via DM
51 votes -
Updating a deployment should restore resources that were deleted manually.
If I delete or otherwise modify a resource outside of deployment manager, when I next perform a deployment update, then that resource should be returned to the state as defined in the deployment YAML/JSON.
Let's say I have a YAML defining a simple VM instance. When I perform the deployment create, then the instance is created.
If I then delete the instance via the console, and then perform a deployment update, it says success, but the instance is NOT restored.
39 votes -
Proper error messages
For example, the following is not really useful:
- code: RESOURCEERROR
location: /deployments/.../resources/...
message: '{"ResourceType":"sqladmin.v1beta4.instance","ResourceErrorCode":"400","ResourceErrorMessage":{"code":400,"message":"Request
contains an invalid argument.","status":"INVALIDARGUMENT","statusMessage":"Bad
Request","requestPath":"https://www.googleapis.com/sql/v1beta4/projects/.../instances","httpMethod":"POST"}}'
It comes from one of Google's github examples. It would seem nicer if it could say what argument is the problem.
And in general error messages from jinja/yaml setup files are hard to read.
31 votes - code: RESOURCEERROR
-
Type Provider API - Provide a Reference Implementation
https://cloud.google.com/deployment-manager/docs/configuration/type-providers/process-adding-api seems really cool. Despite being beta, I'm missing concrete examples, preferably a well documented reference implementation of an API that could work with the Cloud Deployment Manager. Could that be added?
25 votes -
support using sql files to create views in bigquery
Problem:
Our bigquery views take too much space in the google deployment manager yaml, resulting that our deployment-manager.yaml file exceeds 1MB:
https://cloud.google.com/deployment-manager/quotas
Question:
Is there a way to insert sql files into the string field in the deployment manager from a bucket or git repository?
https://github.com/GoogleCloudPlatform/deploymentmanager-samples/blob/1c594e5c195427a57016484a0e6b374e32207101/community/cloud-foundation/templates/bigquery/bigquery_table.py.schema#L90view:
type: object
description: The view definition.
properties:
query:
type: string
description: |
The query that BigQuery executes when the view is referenced.Or any other ideas to use the deployment manager for a lot of views with long sql statements?
We currently are exploring the option to use the deployment manager yaml to…
19 votes -
Support for Google Cloud Functions V1 type (cloudfunctions.v1.function)
Currently, Deployment Manager only supports v1beta2 type (cloudfunctions.v1beta2.function). However, it has been out of beta, and we need to upgrade to V1 by December 4th 2018!
13 votes -
Support Python 3 Templates
Templates only support Python 2.7 - https://cloud.google.com/deployment-manager/docs/configuration/templates/create-basic-template#template_syntax
Python 3 is the modern version of python and 2.7 will soon stop being maintained - https://pythonclock.org/.
12 votes -
Generate template from existing VM
Have a feature that would auto-generate the template for CDM from an existing VM. Extract startup tasks, cron jobs and the list of software and libraries installed, along with any customized configurations (MVP might only include common configs seen in a LAMP stack.)
Scenarios:
1) I have a brownfield project, it lives on a VM (created awhile ago) that I have imported from another host. My hope would be that this feature would help rebuild the environment onto one of Compute Engine's preconfigured operating system images.2) Created instance, added to it over time, decided I want to start using…
11 votes -
Type Provider API - Extend existing internal CDM API
https://cloud.google.com/deployment-manager/docs/configuration/type-providers/process-adding-api
Suppose I currently have a composite type but would like to override the default Update implementation? I believe creating a new type and implementing a Type Provider API would allow that. However, most behaviors of that API should be inherited from what is done today by the CDM for my composite type. Could you explain how the current behavior could be trivially extended for such a common use case?
10 votes -
Support Cloud Scheduler
Please add support for Cloud Scheduler to Deployment Manager.
9 votes -
Improve logging from inside deployment manager
Currently it's very difficult to work out exactly why a deployment fails (See this Stack Overflow post: https://stackoverflow.com/questions/47335752/is-there-any-way-to-print-to-stdout-stderr-or-log-files-in-google-deployment-m and this issue https://issuetracker.google.com/issues/80368273)
This makes debugging take much longer than necessary and incredibly frustrating.
It'd be really nice to be able to get some idea of why a deployment is failing/ somehow improve the debuggability of deployment manager
9 votes -
Documentation of API and examples
Documentation of API are not that easy for a new comer to follow unlike the documentation of gcloud command prompt documentation. Also the examples of APIs are very less. Request you to kindly provide a step-by-step documentation on usage of APIs.
7 votes -
Your "environment variables" turn out to not be what is normally meant by environment variables. This is misleading and time wasting.
Your "environment variables" turn out to not be what is normally meant by environment variables. This is misleading and time wasting. Call them something else (or make them actually work for real environment variables).
7 votes -
Better validation/testing at preview time
We're aware of the preview feature, but this doesnt appear to give any guarantee's that it'll actually end up working when the time comes to deploy it.
What id love to see is some strong validation when previewing deployment manager manifests;
these checks would do something like:
- Examine existing referenced infrastructure at preview time, and validate that the proposed operation will actually succeed (appreciate that there is some time between preview and actually deploying; so this couldnt be a totally solid guarantee, but enough for CI purposes)
- Examine permission checks on the deployment manager's service account, ensuring that…7 votes -
peering
I don't see how network peerings can be defined:
- no peering listed in supported resources.
- https://cloud.google.com/compute/docs/reference/latest/networks shows peerings as output only.How can I essentially include the following in my deployment?
gcloud compute networks peerings create peer-ab \
--network network-A \
--peer-project project-B \
--peer-network network-B \
--auto-create-routes6 votes -
Support Spanner Database/Table
I am able to create spanner instances with cloud deployment manager. I would like to be able to specify my entire spanner setup including instance, database, tables, schemas, etc from my deployment manager template.
6 votes -
Replace VMs when the source image changes in the deployment definition
Currently if one uses an immutable infrastructure approach where most parts are baked into images you cannot easily replace VMs that are deployed by the deployment manager.
If you update the source image field in the VM definition the API returns an error that this is not an update-able field.
So currently changing the image is two updates to the deployment manager. One without the VM in the spec which causes it to delete the VM and another one with the new VM in the spec.It would be nice to have an option where I can update the field…
6 votes -
"absent" state for resources
Please add support to remove resources like "default" network without adding to DM and then deleting that conf.
5 votes -
Report more complete diff in deployment manager
It would be great if we could use the SDK to view detailed differences between an update preview and the current deployment. Often, I'm finding that I am updating startup scripts for VMs, or even adding metadata to various components of the deployment.
In addition to using git diff, which I use to version control deployment scripts, it would be great to have diffs of the deployment from deployment manager to verify that the changes I intend to happen will indeed happen.
5 votes
- Don't see your idea?