NAME
gcluster expand - expands the blueprint without creating a new deployment.
SYNOPSIS
gcluster expand BLUEPRINT_NAME [FLAGS]
DESCRIPTION
The gcluster expand command updates and expands the environment blueprint in
the same way as
gcluster create, but
without writing the deployment files to disk (except for the expanded YAML
output).
FLAGS
-o,--out OUTPUT_FILE: The output file for the expanded HPC environment definition. The default value isexpanded.yaml.-d,--deployment-file DEPLOYMENT_FILE: The deployment file to override blueprint variables and backend configuration.--vars VARS: A comma-separated list ofname=valuevariables to override YAML configuration. This flag can be used multiple times.--backend-config BACKEND_CONFIG: A comma-separated list ofname=valuevariables to set Terraform backend configuration. This flag can be used multiple times.-l,--validation-level LEVEL: Sets validation level toERROR,WARNING, orIGNORE. The default value isERROR.--skip-validators VALIDATORS: The validators you want to skip.--add-creator-label: Adds theghpc_creatorlabel to the expanded blueprint.
EXAMPLES
To expand a blueprint and save the result to the default expanded.yaml:
gcluster expand blueprint.yaml
To expand a blueprint and write the output to a custom path:
gcluster expand blueprint.yaml -o ./custom-expanded.yaml
To expand a blueprint with overridden configuration variables:
gcluster expand blueprint.yaml \
--vars project_id=my-project,zone=us-central1-a