Difference between revisions of "ScanOnPush"

From wikieduonline
Jump to navigation Jump to search
(Created page with " ScanOnPush configuration at the repository level is deprecated in favor of registry level scan filters. == See also == * {{aws ecr}} Category:AWS")
 
Line 2: Line 2:
  
 
  ScanOnPush configuration at the repository level is deprecated in favor of registry level scan filters.
 
  ScanOnPush configuration at the repository level is deprecated in favor of registry level scan filters.
 +
 +
resource "aws_ecr_repository" "your-app" {
 +
  name                = "your-app"
 +
  image_tag_mutability = "MUTABLE"
 +
 +
  image_scanning_configuration {
 +
    scan_on_push = true
 +
  }
 +
}
  
  

Revision as of 13:40, 16 February 2024


ScanOnPush configuration at the repository level is deprecated in favor of registry level scan filters.
resource "aws_ecr_repository" "your-app" {
 name                 = "your-app"
 image_tag_mutability = "MUTABLE"
 image_scanning_configuration {
   scan_on_push = true
 }
}


See also

Advertising: