awslabs / awslabs/aws-deployment-framework
[Feat]: Enhanced Targetting via Tags
- Dominant language
- Python
- Stars
- 699
- Forks
- 235
- Avg merge
- 20h 53m
- Merged PRs (30d)
- 7
Description
### 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
Contributor guide
Assessment
This issue has not been assessed yet.