gcluster expand

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 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. This flag can be used multiple times.
  • --backend-config BACKEND_CONFIG: A comma-separated list of name=value variables to set Terraform backend configuration. This flag can be used multiple times.
  • -l, --validation-level LEVEL: Sets validation level to ERROR, WARNING, or IGNORE. The default value is ERROR.
  • --skip-validators VALIDATORS: The validators you want to skip.
  • --add-creator-label: Adds the ghpc_creator label 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