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

V2 #1

Open
wants to merge 4 commits into
base: master
Choose a base branch
from
Open

V2 #1

wants to merge 4 commits into from

Conversation

will-beep-lamm
Copy link

ecr-cleanup ground up rework

Copy link

@jdziat jdziat left a comment

Choose a reason for hiding this comment

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

Just need one small tweak and we're all set

clean/clean.go Outdated
}

func CleanRepos(untaggedOnly bool, keepLastCount int, profile string, region string, dryRun bool, verbose bool) bool {
arnmap := map[string]string{
Copy link

Choose a reason for hiding this comment

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

Believe this should be configurable

Copy link
Author

Choose a reason for hiding this comment

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

So you would like the user to input their own arn for the role to use?

Copy link

Choose a reason for hiding this comment

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

yea, fine for it to default or use a template to update it. But if we ever add accounts it would be easier to update a mapping than it would be to push a code change.

@will-beep-lamm will-beep-lamm requested a review from jdziat May 20, 2024 15:51
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