aws-actions / aws-cloudformation-github-deploy

Deploys AWS CloudFormation Stacks
MIT License
251 stars 121 forks source link

feat: pass parameter overrides as prefixed environment variables #105

Open radekl opened 1 year ago

radekl commented 1 year ago

Issue #, if available: -

Description of changes:

I have added a feature that allows users to use action's prefixed environment variables as parameter overrides. The prefix of environment key is removed before passing it to cloudformation.

This approach is based on Heroku Deploy action and addresses couple of issues including:

I have added feature, tests and documentation snippet. Feature should be backward compatible as it's only activated if user adds an envs-prefix-for-parameter-overrides parameter with a desired prefix.

I hope that you will find this feature useful and include it in the main release.

By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

radekl commented 1 year ago

Actually solves some of the already existing issues too:

radekl commented 9 months ago

@kddejong can I have a little bit of your attention here? 😄

radekl commented 9 months ago

Force pushed all the commits to rebase and update to the changes in tests.

radekl commented 3 months ago

@kddejong Hey, any chances for you to look into it?