Difference between revisions of "ScanOnPush"

From wikieduonline
Jump to navigation Jump to search
Line 3: Line 3:
 
  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" {
+
  resource "[[aws_ecr_repository]]" "your-app" {
 
   name                = "your-app"
 
   name                = "your-app"
 
   image_tag_mutability = "MUTABLE"
 
   image_tag_mutability = "MUTABLE"

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

Advertising: