NAME
gcluster export-outputs - exports outputs from a deployment group.
SYNOPSIS
gcluster export-outputs DEPLOYMENT_GROUP_DIRECTORY [FLAGS]
DESCRIPTION
The gcluster export-outputs command exports output values from a specific
deployment group to other deployment groups that depend on them. This command
passes values, such as IP addresses or resource IDs, between modules in a
sequential deployment. To import these values in dependent groups, use the
gcluster import-inputs
command.
FLAGS
-a,--artifacts ARTIFACTS_DIR: The directory where deployment artifacts are stored. If you omit this flag, then thegclusterCLI configures the directory automatically.--parallelism N: Limits the number of concurrent Terraform operations. Specify an integer of0or greater:1or greater: passesNto Terraform and overrides theGCLUSTER_TERRAFORM_PARALLELISMenvironment variable.0or omitted: uses theGCLUSTER_TERRAFORM_PARALLELISMenvironment variable if set to a positive integer, or falls back to the Terraform default of10.
EXAMPLES
To export outputs from a deployment group directory:
gcluster export-outputs ./my-deployment/primary-cluster
To export outputs specifying a custom artifacts directory:
gcluster export-outputs ./my-deployment/primary-cluster \
--artifacts=./my-deployment/.artifacts