aws-deployment-framework
aws-deployment-framework copied to clipboard
[Feat]: Enhanced Targetting via Tags
Describe the feature
Deployment Maps Targeting via Tags improvement.
When targeting via tags, I want to target multiple values for the same tag without needing multiple stages and also target via multiple named tags in the same stage
Use Case
All my accounts are tagged with the a key "account-short-name" the value is a short unique name within the organization for the account.
I want to target several such accounts to deploy the same stack too.
Proposed Solution
Add support for List in Tag values such as ...
tags:
account-short-name:
- my-account-tag-1
- my-account-tag-2
Additionally add a conditional operator support for multiple named tags
tags-condition: any # Filter accounts matching either of the below tags.
tags:
account-short-name: my-test-account-tag-1
environment: dev
tags-condition: all # Filter accounts which match both of the below tags.
tags:
account-short-name: my-test-account-tag-1
environment: dev
Acknowledgements
- [X] I may be able to implement this feature request