Files
java-maven-app/terraform/ecr-repo.tf
2020-12-20 17:25:56 +01:00

11 lines
222 B
HCL

resource "aws_ecr_repository" "myapp-repo" {
name = "myapp"
# defaults
image_tag_mutability = "MUTABLE"
image_scanning_configuration {
scan_on_push = true
}
}
data "aws_ecr_authorization_token" "token" {}