WHAT YOU'LL LEARN
  • How to read stack output values for a deployed app
  • What kind of information the output command returns

Overview
anchor

The output command prints the Pulumi stack output for an app that has already been deployed. Stack outputs are values that the infrastructure code explicitly exports — things like API endpoint URLs, CloudFront distribution IDs, S3 bucket names, and similar deployment artifacts.

This is useful when you need to retrieve a URL or resource identifier after deployment without opening the AWS console.

Usage
anchor

With a specific environment:

Options
anchor

OptionDescription
--envEnvironment name (e.g. dev, prod). Defaults to dev.
--variantVariant of the app.
--regionAWS region to target.
--jsonEmit output as JSON.

What Gets Printed
anchor

The exact outputs depend on what each app exports from its Pulumi program. Common values include:

  • API GraphQL endpoint URL
  • CloudFront distribution domain names
  • Cognito User Pool and Client IDs
  • S3 bucket names