-
Notifications
You must be signed in to change notification settings - Fork 9.3k
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
f/aws_ecr_image - add image_tag_regex option #38783
base: main
Are you sure you want to change the base?
f/aws_ecr_image - add image_tag_regex option #38783
Conversation
Community NoteVoting for Prioritization
For Submitters
|
Thank you for your contribution! 🚀 Please note that the Remove any changes to the |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Welcome @plentydone 👋
It looks like this is your first Pull Request submission to the Terraform AWS Provider! If you haven’t already done so please make sure you have checked out our CONTRIBUTOR guide and FAQ to make sure your contribution is adhering to best practice and has all the necessary elements in place for a successful approval.
Also take a look at our FAQ which details how we prioritize Pull Requests for inclusion.
Thanks again, and welcome to the community! 😃
b1fa653
to
7198b98
Compare
Description
Add
image_tag_regex
option toaws_ecr_image
for the purposes of filtering the list of images retrieved from a repository before choosing the latest. The idea is that you might have images taggeddevelop-(commit hash)
or(branch)-(commit hash)
orv1.2.0
all in one repository, and it is sometimes convenient to be able to choose the latest image matching a given pattern. I didn't see an option in the AWS API that covers it.(this PR previously added
image_tag_prefix
, but I updated it toimage_tag_regex
after @jseiser pointed out prior art for such a feature)Output from Acceptance Testing