NAME
gcluster expand - expands the blueprint without creating a new deployment.
SYNOPSIS
gcluster expand BLUEPRINT_NAME [FLAGS]
DESCRIPTION
The gcluster expand command validates and expands the environment blueprint in
the same way as the gcluster
create command. However, the
gcluster expand command writes only the expanded YAML output file to disk
without generating a deployment directory.
FLAGS
-o,--out OUTPUT_FILE: The output file for the expanded high performance computing (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. You can specify this flag multiple times.--backend-config BACKEND_CONFIG: A comma-separated list ofname=valuevariables to set Terraform backend configuration. You can specify this flag multiple times.-l,--validation-level LEVEL: Sets the validation level toERROR,WARNING, orIGNORE. The default value isERROR.--skip-validators VALIDATORS: A comma-separated list of validators to skip during validation.--add-creator-label: Adds theghpc_creatorlabel with your account identity to the expanded blueprint. This label is turned on by default for@google.comaccounts. To turn off this label, pass the--add-creator-label=falseflag.
EXAMPLES
To expand a blueprint and save the result to the default expanded.yaml file:
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