Skip to content

Commit

Permalink
Create purger ECR repo
Browse files Browse the repository at this point in the history
  • Loading branch information
nikki-t committed Jul 25, 2023
1 parent 2a7fc83 commit d51dc3b
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions terraform/generate-ecr.tf
Original file line number Diff line number Diff line change
Expand Up @@ -76,4 +76,14 @@ resource "aws_ecr_repository" "reporter" {
image_scanning_configuration {
scan_on_push = false
}
}

# Purger
resource "aws_ecr_repository" "purger" {
name = "${var.prefix}-purger"
image_tag_mutability = "MUTABLE"
force_delete = true
image_scanning_configuration {
scan_on_push = false
}
}

0 comments on commit d51dc3b

Please sign in to comment.