gcluster expand

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 is expanded.yaml.
  • -d, --deployment-file DEPLOYMENT_FILE: The deployment file to override blueprint variables and backend configuration.
  • --vars VARS: A comma-separated list of name=value variables to override YAML configuration. You can specify this flag multiple times.
  • --backend-config BACKEND_CONFIG: A comma-separated list of name=value variables to set Terraform backend configuration. You can specify this flag multiple times.
  • -l, --validation-level LEVEL: Sets the validation level to ERROR, WARNING, or IGNORE. The default value is ERROR.
  • --skip-validators VALIDATORS: A comma-separated list of validators to skip during validation.
  • --add-creator-label: Adds the ghpc_creator label with your account identity to the expanded blueprint. This label is turned on by default for @google.com accounts. To turn off this label, pass the --add-creator-label=false flag.

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