11 lines
222 B
HCL
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" {} |