accendero/AWS Stack Outputs to Env

Collect variables from specified stack outputs and export them to env vars

View on GitHub

Trust Signals

Scorecard Score
not yet scored
Maintenance Recency
Activelast commit Jun 5, 2026
License
None

Pinned Snippet

workflow.ymlSHA-pinned
uses: accendero/aws-stack-outputs-to-env@415ba32d8676f31e79c2b5b1be9cbfc3886bd2fe # v2.5

tags can be moved; commit SHAs can't. why a SHA?

namedescriptionrequireddefault
access_key_idAWS Access Key ID (optional if an active AWS session is already configured, e.g. via OIDC)no
secret_access_keyAWS Secret Access Key (optional if an active AWS session is already configured, e.g. via OIDC)no
session_tokenAWS Session Token (required when using temporary credentials, e.g. from STS or OIDC)no
regionAWS Regionyes
stack_nameCloudformation Stack Nameyes
prefixOptional prefix for exported environment variable names. Must be uppercase letters and underscores only (e.g. MY_PREFIX exports MY_PREFIX_my_var)no
scopeWhat to collect from the stack: 'Outputs' (default), 'Parameters', or 'Resources'noOutputs
maskWhether to mask output values in logs (default: true). Set to 'false' to disable masking.notrue
mask_fieldsComma-separated list of field names to mask. When set, only these fields will be masked. Requires mask: 'true'.no
unmask_fieldsComma-separated list of field names NOT to mask. When set, all other fields will be masked. Requires mask: 'true'.no
namedescription
matrixJSON object of all collected stack outputs/parameters, keyed by name (with prefix applied if set)