Skip to content

Instantly share code, notes, and snippets.

@dev-daeun
Created February 19, 2022 08:23
Show Gist options
  • Save dev-daeun/f9d3e98fdf751b4663381392e0d2d3f5 to your computer and use it in GitHub Desktop.
Save dev-daeun/f9d3e98fdf751b4663381392e0d2d3f5 to your computer and use it in GitHub Desktop.
resource "aws_ecr_registry_scanning_configuration" "ecr-scan-config" {
scan_type = "ENHANCED"
rule {
scan_frequency = "SCAN_ON_PUSH"
repository_filter {
filter = var.service
filter_type = "WILDCARD"
}
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment