stacktape status displays detailed information about a deployed stack, including its outputs (URLs, endpoints, resource identifiers) and the list of AWS resources in the stack. Use it after deploying to discover endpoints, verify resource creation, or feed stack data into scripts and CI pipelines. It needs a Console sign-in: stacktape login, or STACKTAPE_API_KEY in CI. It reads the stage's record in the Console. Without an account, open the stack <project>-<stage> in the AWS CloudFormation console, in the stage's region, to see its outputs and resources.
Usage
Alternatively, pass the stack name directly.
The --region flag is the only required argument. You identify the target stack in one of two ways: provide --stack-name directly (formatted as projectName-stage), or provide both --project and --stage together. If neither combination is supplied, the command exits with an error: "Provide either --stack-name OR both --project and --stage".
With --agent, status skips the interactive stack-details view and uses the CLI's JSONL protocol. The final result event contains a versioned stacktape.info-stack.v1 document at data.result, including the resolved stack name, region, outputs, Stacktape resource map, and CloudFormation resources. Read the final result event rather than parsing informational log messages.
The --aws-account flag selects which connected AWS account to query. The account must first be connected in the Stacktape Console. Omit it when the default account selection is sufficient.
Examples
Inspect a production stack to retrieve its outputs (URLs, resource identifiers).
Use the combined stack name instead of separate project and stage flags.
Get versioned JSONL output for a CI pipeline, coding agent, or script.
The stable command document is nested in the final event:
{ "type": "result", "ok": true, "data": { "result": { "schemaVersion": "stacktape.info-stack.v1", "stackName": "my-api-staging", "region": "eu-west-1", "description": null, "stackOutput": {}, "stackInfoMap": null, "resources": [] } }}Query a stack in a specific connected AWS account.
Options
stacktape status8 optionsThe AWS region for the operation.
For a list of available regions, see the AWS documentation.
Inside a project whose config declares
region, the flag is optional and overrides the config.21 allowed values:us-east-2us-east-1us-west-1us-west-2ap-east-1ap-south-1Show all
ap-northeast-3ap-northeast-2ap-southeast-1ap-southeast-2ap-northeast-1ca-central-1eu-central-1eu-west-1eu-west-2eu-west-3eu-north-1me-south-1sa-east-1af-south-1eu-south-1--aws-accountstringThe name of the AWS account to use for the operation.
The account must first be connected in the Stacktape Console.
Without it, the account is chosen by
--profile,AWS_PROFILEor AWS credentials in environment variables, then by your saved default, then by your organization's only connected account.--aws-accounttakes precedence over all of them, but AWS credentials in environment variables must then belong to that account.-h, --helpstringIf provided, the command will not execute and will instead print help information.
--log-level"info" | "debug" | "error"Log Level
The level of logs to print to the console.
info: Basic information about the operation.error: Only errors.debug: Detailed information for debugging.
--projectstringThe name of the Stacktape project for this operation.
Commands that target a stack take it from
projectNamein the project's config when the flag is absent.--quietbooleanHide progress, banners, success messages and hints.
Command output, warnings and errors are still printed.
--stack-namestringThe name of the CloudFormation stack (format: projectName-stage).
-s, --stagestringThe stage for the operation (e.g.,
production,staging,dev-john).You can set a default stage using the
defaults setcommand. Stage names use lowercase letters, numbers and dashes, with at least 2 characters. The project name, a dash and the stage form the CloudFormation stack name, which can have at most 128 characters. Stacktape shortens an AWS resource name that would be too long and adds a hash.
Related commands
stack list— List all stacks deployed in a region. Use this to discover stack names before drilling into one withstatus.stack history— View recent deployment operations and their success/failure status for a project or stage.deploy— Deploy or update a stack. After deploying, usestatusto retrieve the resulting outputs and endpoints.param get— Retrieve a single parameter value from a resource in a deployed stack, rather than the full stack overview.