Stack Configuration
Outputs
- Outputs are parameters of your stack that can be reused later. For example, database endpoints of your database or an ARN (Amazon resource name) of your SQS queue.
- Outputs can also be used to pass information from one stack to another. Refer to CfStackOutput directive to learn more about referencing outputs between stacks.
- Stacktape automatically adds potentially helpful outputs. These outputs include database URLs, domain names, URLs of API Gateways/Load balancers, etc.
Copy
stackConfig:outputs:- name: BUCKET_URLvalue: $ResourceParam('myBucket', 'url')resources:myBucket:type: bucket
The URL of the bucket is saved as an output.
StackOutput API reference
Parent:StackConfig
name
Required
value
Required
description
export
Stack information preservation
- Stacktape automatically saves some information about the deployed stack after each deployment.
- Stack information includes data about the deployed resources, outputs, and metadata.
- By default, the information is saved to
.stack-info/<<stack-name>>.json
. - You can disable this behavior or change the output directory.
API Reference
StackConfig API reference
outputs
tags
disableStackInfoSaving
stackInfoDirectory