This template creates a Runtime Configurator with the associated resources.
-
Install gcloud
-
Install gcloud beta components:
gcloud components update gcloud components install beta
-
Enable the Cloud Runtime Configurator API
-
Grant the Cloud RuntimeConfig Admin IAM role to the Deployment Manager service account
See the properties
section in the schema file(s):
-
Clone the Deployment Manager samples repository
git clone https://github.com/GoogleCloudPlatform/cloud-foundation-toolkit
-
Go to the dm directory
cd dm
-
Copy the example DM config to be used as a model for the deployment, in this case examples/runtime_config.yaml
cp templates/runtime_config/examples/runtime_config.yaml my_runtime_config.yaml
-
Change the values in the config file to match your specific GCP setup. Refer to the properties in the schema files described above.
vim my_runtime_config.yaml # <== change values to match your GCP setup
-
Create your deployment as described below, replacing
<YOUR_DEPLOYMENT_NAME>
with your with your own deployment namegcloud deployment-manager deployments create <YOUR_DEPLOYMENT_NAME> \ --config my_runtime_config.yaml
-
In case you need to delete your deployment:
gcloud deployment-manager deployments delete <YOUR_DEPLOYMENT_NAME>