We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
ECR forces the pre-creation of repositories, so ideally we would have a UX like:
resource "aws_ecr_repository" "foo" { name = "foo" image_tag_mutability = "MUTABLE" image_scanning_configuration { scan_on_push = false } } resource "ko_image" "image" { base_image = "cgr.dev/chainguard/static" working_dir = path.module importpath = "github.com/mattmoor/foo" # NEW! repo = aws_ecr_repository.foo.repository_url }
This would be the equivalent of:
KO_DOCKER_REPO=${aws_ecr_repository.foo.repository_url} ko build --bare github.com/mattmoor/foo
I know @nsmith5 used this to deploy some stuff to AWS, so I'm curious whether this resonates with him (when he's back!).
cc @imjasonh
The text was updated successfully, but these errors were encountered:
Is there anything we might want ko_image to do if it can tell that the ECR repo has immutable tags?
ko_image
resource "ko_image" "image" { image_tag_immutability = aws_ecr_repository.foo.image_tag_immutability }
Sorry, something went wrong.
No branches or pull requests
ECR forces the pre-creation of repositories, so ideally we would have a UX like:
This would be the equivalent of:
KO_DOCKER_REPO=${aws_ecr_repository.foo.repository_url} ko build --bare github.com/mattmoor/foo
I know @nsmith5 used this to deploy some stuff to AWS, so I'm curious whether this resonates with him (when he's back!).
cc @imjasonh
The text was updated successfully, but these errors were encountered: