add config for ecr repo and remote backend

This commit is contained in:
Nana Janashia
2020-12-20 14:42:33 +01:00
parent 165bd326cb
commit 9f96f5fac1
4 changed files with 25 additions and 1 deletions

9
terraform/ecr-repo.tf Normal file
View File

@@ -0,0 +1,9 @@
resource "aws_ecr_repository" "myapp-repo" {
name = "myapp"
# defaults
image_tag_mutability = "MUTABLE"
image_scanning_configuration {
scan_on_push = true
}
}