stack:info
Overview and basic usage
Prints information about the specified stack.
You can get the information in 2 ways:
- simple (default): prints helpful links and parameters of the deployed stack to the terminal.
- detailed (used if you specify the
--detailedflag): saves detailed information about the stack to a file. By default, the output is saved tostack-info.yaml. This can be configured using--outFileand--outFormatoptions.
In the detailed mode:
-
If the stack is deployed and you specify
projectName,stageandregionyou'll get overview of the deployed stack. -
If the stack is deployed and you additionally supply a configuration (stacktape template), you will see both resources from configuration and deployed resources in the result. Depending on the difference between configuration and deployed resources, status of the resource can be either
DEPLOYED,TO_BE_CREATEDorTO_BE_DELETED, suggesting what will happen to the resource if you deploy (update) the stack. -
If the stack is NOT deployed and you specify
projectName,--stage,--regionand supply a configuration, you'll get an overview of resources that will be created if you deploy the stack.
Sensitive values (such as database credentials) are omitted by default. If you want to include them, use
--showSensitiveValues flag.
stacktape stack:info --region <<region>>
API reference
Options