🎯 Target runtime: es2024 (Node >= 24)
Utilities for build and runtime to work with the AWS-CDK.
@aws-sdk/client-...@shiftcode/branch-utilitiestslib
@aws-sdk/client-cloudformationexportStackOutputs
@aws-sdk/client-cloudfrontinvalidateCfCache
@aws-sdk/credential-providers&@aws-sdk/typescredentials-helper
@shiftcode/lambda-utilitiesuploadToS3
@aws-sdk/client-s3uploadToS3
-
Purpose: Resolve and provide AWS environment variables from a configuration file.
-
Usage:
npm run aws-env-vars -c <path>, most commonly used witheval "$(npm run aws-env-vars -c <path>)". -
Args:
Arg Description Optional -c, --config <path>Relative path to the config file (default: ./aws-accounts.config.json)Yes -
Output: Prints AWS environment variable exports or errors.
- exports
AWS_REGIONandSC_AWS_ACCOUNT_IDfor the github action. - exports
AWS_REGIONandAWS_PROFILEfor the local development.
- exports
- Purpose: Override the stage to the base of the current pr. (Only works in a GitHub action context.)
- Usage:
npm run stage-override-to-pr-base - Args: None
- Output: Prints the environment variable exports for the stage override or errors
- exports
SC_OVERRIDE_BRANCH_NAMEandSC_OVERRIDE_IS_PR
- exports