Difference between revisions of "Terraform resource: aws ecr repository"

From wikieduonline
Jump to navigation Jump to search
Line 2: Line 2:
  
 
Example:
 
Example:
<pre>
 
resource "aws_ecr_repository" "foo" {
 
  name                = "bar"
 
  image_tag_mutability = "MUTABLE"
 
  
  image_scanning_configuration {
+
resource "aws_ecr_repository" "foo" {
    scan_on_push = true
+
  name                = "bar"
  }
+
  image_tag_mutability = "MUTABLE"
}
+
</pre>
+
  image_scanning_configuration {
 +
    scan_on_push = true
 +
  }
 +
}
  
 
== See also ==
 
== See also ==

Revision as of 21:52, 1 December 2021

Advertising: