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")
 
 
(4 intermediate revisions by the same user not shown)
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
 +
  }
 +
}
  
  
 
== See also ==
 
== See also ==
 +
* {{aws_ecr_repository}}
 
* {{aws ecr}}
 
* {{aws ecr}}
  
 
[[Category:AWS]]
 
[[Category:AWS]]

Latest revision as of 09:45, 14 June 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[edit]

Advertising: