Difference between revisions of "Terraform resource: aws ecr repository"
Jump to navigation
Jump to search
Line 5: | Line 5: | ||
resource "aws_ecr_repository" "foo" { | resource "aws_ecr_repository" "foo" { | ||
name = "bar" | name = "bar" | ||
− | image_tag_mutability = "MUTABLE" | + | [[image_tag_mutability]] = "MUTABLE" |
image_scanning_configuration { | image_scanning_configuration { |
Revision as of 14:56, 2 December 2021
https://registry.terraform.io/providers/hashicorp/aws/latest/docs/resources/ecr_repository
Example:
resource "aws_ecr_repository" "foo" { name = "bar" image_tag_mutability = "MUTABLE" image_scanning_configuration { scan_on_push = true } }
See also
- ECR:
aws ecr
[get-login | get-login-password | describe-repositories | list-images | describe-images | create-repository | start-image-scan | describe-image-scan-findings | batch-get-image | put-image ]
- Terraform AWS resources: IAM, Net, EC2, ECS, ECR, S3, Route53, ACM, CloudWatch, CloudFront SES, RDS, DLM
Advertising: