Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

(fix) Cannot exclude multiple tags #3

Conversation

brigidspeed23
Copy link
Collaborator

Description of Changes

There's some weird logic with the --excluded-mapping-values logic where it appears to be AND logic for multiple tags. So if you want to exclude tags branches master OR release/packer-core from the cleanup then this isn't possible.

Seems to be a known issue of the repo:
bonclay7#86
bonclay7#95

This fix switches the logic to OR. This is required so we can cleanup the obsolete AMIs in the in the General and Dev Resources account safely.

Related PR: https://github.com/TandaHQ/tanda-infrastructure/pull/1705

QA

image

@brigidspeed23 brigidspeed23 added the bug Something isn't working label Jul 2, 2023
@brigidspeed23 brigidspeed23 self-assigned this Jul 2, 2023
@brigidspeed23 brigidspeed23 changed the title (fix) cannot exclude multiple tags (fix) Cannot exclude multiple tags Jul 2, 2023
Copy link
Collaborator

@AwolDes AwolDes left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good

@brigidspeed23 brigidspeed23 merged commit de0f450 into feature/rudimentary-support-launch-templates Jul 3, 2023
@AwolDes AwolDes deleted the fix/cannot-exclude-multiple-tags branch July 3, 2023 01:35
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants