gcluster export-outputs

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 is typically used to pass information (such as IP addresses or resource IDs) between different modules in a sequential deployment. To import these values in dependent groups, use gcluster import-inputs.

FLAGS

  • -a, --artifacts ARTIFACTS_DIR: The directory where deployment artifacts are stored. This directory is automatically configured if not set.

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