Difference between revisions of "ScanOnPush"

From wikieduonline
Jump to navigation Jump to search
 
Line 5: Line 5:
 
  resource "[[aws_ecr_repository]]" "your-app" {
 
  resource "[[aws_ecr_repository]]" "your-app" {
 
   name                = "your-app"
 
   name                = "your-app"
   image_tag_mutability = "MUTABLE"
+
   [[image_tag_mutability]] = "MUTABLE"
 
   
 
   
 
   image_scanning_configuration {
 
   image_scanning_configuration {

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: