問題タブ [google-deployment-manager]

For questions regarding programming in ECMAScript (JavaScript/JS) and its various dialects/implementations (excluding ActionScript). Note JavaScript is NOT the same as Java! Please include all relevant tags on your question; e.g., [node.js], [jquery], [json], [reactjs], [angular], [ember.js], [vue.js], [typescript], [svelte], etc.

0 投票する
0 に答える
36 参照

google-deployment-manager - Google deployment manager reset manual changes

I'm using GCE in my project. For infrastructure release I have used both terraform and puppet. Each of them have advantages and disadvantages. But both of them falls behind(with upgrading new functionality) compared with Google Deployment Manager and of course if I use only google(not multi-cloud) then it is the best solution for me to use native tools ). As puppet is a declarative tool, it allows anytime declare my infrastructure and any manual change should be reseted.

I am trying to write a script which will reset all manual changes that I made in my project. Of course manual changes is not the best practice, but sometimes it is the fastest way for hotfix (e.g changing the minimum count of instances in group for a critical moment).

Is there a way to perform the same functional in Google Deployment Manager.

0 投票する
6 に答える
3487 参照

google-deployment-manager - プロジェクトで IAM ポリシーを割り当てる Google デプロイメント マネージャー

IAM ポリシーでプロジェクトを更新するために使用しています。GCP デプロイメント マネージャーのテンプレートでは、python Jinja ファイルを使用していますが、IAM ポリシーを追加したいと考えています (ユーザー/サービス アカウントにロールを割り当てます)。誰かが Jinja/ 構成ファイルを変更して、変更方法を特定できますか?

https://github.com/GoogleCloudPlatform/deploymentmanager-samples/blob/master/examples/v2/project_creation/config.yaml

https://github.com/GoogleCloudPlatform/deploymentmanager-samples/blob/master/examples/v2/project_creation/project.py