Created
March 24, 2023 15:44
-
-
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
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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