July 2018
Intermediate to advanced
506 pages
16h 2m
English
Looking back at the output of the previous gcloud command, notice that the app-server-2 resource was listed with an intent of CREATE_OR_ACQUIRE. Cloud Deployment Manager supports the notion of create policies, which control the deployment's behavior when creating new resources. By default, the create policy will create the resource if it does not exist, or acquire the deployment if it does.
Acquiring resources allows deployments to take control of existing resources. The acquire policy will cause an update to fail if the specified resources do not exist. This policy should be used when adding existing resources to a deployment to ensure that additional resources are not accidentally created. Note that under no circumstances ...