Skip to content

Support shell variable interpolation in CDK context-values and extra-arguments - #177

Merged
kai-nguyen-aligent merged 3 commits into
mainfrom
feat/support-shell-vars-interpolation
Jul 27, 2026
Merged

Support shell variable interpolation in CDK context-values and extra-arguments#177
kai-nguyen-aligent merged 3 commits into
mainfrom
feat/support-shell-vars-interpolation

Conversation

@kai-nguyen-aligent

@kai-nguyen-aligent kai-nguyen-aligent commented Jul 26, 2026

Copy link
Copy Markdown
Contributor

Description of the proposed changes

  • Add envsubst-based shell variable interpolation for context-values and extra-arguments inputs in the AWS CDK workflow
  • Variables are expanded after EXTRA_VARS/EXTRA_SECRETS are loaded, allowing references to GitHub Environment-scoped variables that are otherwise inaccessible at caller input time (since ${{ vars.* }} only resolves repository-level variables in the caller's context)
  • Update docs with interpolation usage example and justification

Other solutions considered

  • Using ${{ vars.* }} in the caller workflow was considered but it cannot access environment-scoped variables, only repository-level ones.

Notes to reviewers

  • 🛈 Toggl Code: SPW-443: Code Review
  • 🛈 When you've finished leaving feedback, please add a final comment to the PR tagging the author, letting them know that you have finished leaving feedback

@kai-nguyen-aligent
kai-nguyen-aligent marked this pull request as ready for review July 26, 2026 12:44
@kai-nguyen-aligent
kai-nguyen-aligent requested a review from a team as a code owner July 26, 2026 12:44
@kai-nguyen-aligent
kai-nguyen-aligent merged commit b7ae89e into main Jul 27, 2026
3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants