Skip to content

Instantly share code, notes, and snippets.

@hendrixroa
Created March 24, 2023 15:44
Show Gist options
  • Save hendrixroa/46211611ce1a49606b380848c17e2b07 to your computer and use it in GitHub Desktop.
Save hendrixroa/46211611ce1a49606b380848c17e2b07 to your computer and use it in GitHub Desktop.
AWS ECR registry creation with vulnerabilities scan when a docker image is pushing
resource "aws_ecr_repository" "noiselesstech" {
name = "noiselesstech"
image_scanning_configuration {
scan_on_push = true
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment