accendero/AWS Stack Outputs to Env
Collect variables from specified stack outputs and export them to env vars
View on GitHubTrust Signals
- Scorecard Score
- not yet scored
- Maintenance Recency
- Activelast commit Jun 5, 2026
- License
- None
Pinned Snippet
uses: accendero/aws-stack-outputs-to-env@415ba32d8676f31e79c2b5b1be9cbfc3886bd2fe # v2.5tags can be moved; commit SHAs can't. why a SHA?
Inputs
| name | description | required | default |
|---|---|---|---|
| access_key_id | AWS Access Key ID (optional if an active AWS session is already configured, e.g. via OIDC) | no | — |
| secret_access_key | AWS Secret Access Key (optional if an active AWS session is already configured, e.g. via OIDC) | no | — |
| session_token | AWS Session Token (required when using temporary credentials, e.g. from STS or OIDC) | no | — |
| region | AWS Region | yes | — |
| stack_name | Cloudformation Stack Name | yes | — |
| prefix | Optional prefix for exported environment variable names. Must be uppercase letters and underscores only (e.g. MY_PREFIX exports MY_PREFIX_my_var) | no | — |
| scope | What to collect from the stack: 'Outputs' (default), 'Parameters', or 'Resources' | no | Outputs |
| mask | Whether to mask output values in logs (default: true). Set to 'false' to disable masking. | no | true |
| mask_fields | Comma-separated list of field names to mask. When set, only these fields will be masked. Requires mask: 'true'. | no | — |
| unmask_fields | Comma-separated list of field names NOT to mask. When set, all other fields will be masked. Requires mask: 'true'. | no | — |
Outputs
| name | description |
|---|---|
| matrix | JSON object of all collected stack outputs/parameters, keyed by name (with prefix applied if set) |