Skip to content

lambda-image-republish: Digest change should trigger update#30

Open
dwhswenson wants to merge 2 commits intoomsf:mainfrom
dwhswenson:republish-use-hash
Open

lambda-image-republish: Digest change should trigger update#30
dwhswenson wants to merge 2 commits intoomsf:mainfrom
dwhswenson:republish-use-hash

Conversation

@dwhswenson
Copy link
Copy Markdown
Member

@dwhswenson dwhswenson commented Mar 24, 2026

This handles the case that user deploys with tag "latest", and expects a future update to pull in the newest "latest."

Note that we recommend using immutable tags, but my intuition is that if someone chooses "latest," then they probably want to autoupdate when they do a new plan.

I don't particularly like this implementation, but from what I can tell, the aws_ecr_image doesn't work on public repositories, and there's no equivalent in aws_ecrpublic until provider version 6.19. Unfortunately, I'm still stuck on 4.x for local reasons.


EDIT: Switched out an ugly shell script implementation for using a 3rd party Docker provider. Still not my favorite, but not as bad as the original approach.

This handles the case that user deploys with tag "latest", and expects a
future update to pull in the newest "latest."

Note that we recommend using immutable tags, but my intuition is that if
someone chooses "latest," then they probably want to autoupdate when
they do a new plan.

I don't particularly like this implementation, but from what I can tell,
the aws_ecr_image doesn't work on public repositories, and there's no
equivalent in aws_ecrpublic until provider version 6.19. Unfortunately,
I'm still stuck on 4.x for local reasons.
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.

1 participant