CLI
Webiny Output
Print the Pulumi stack output for a deployed Webiny app.
WHAT YOU'LL LEARN
- How to read stack output values for a deployed app
- What kind of information the output command returns
Overview
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
With a specific environment:
Options
| Option | Description |
|---|---|
--env | Environment name (e.g. dev, prod). Defaults to dev. |
--variant | Variant of the app. |
--region | AWS region to target. |
--json | Emit output as JSON. |
What Gets Printed
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