Difference between revisions of "Terraform resource: aws ecr repository"
Jump to navigation
Jump to search
Line 2: | Line 2: | ||
Example: | Example: | ||
− | |||
− | |||
− | |||
− | |||
− | + | resource "aws_ecr_repository" "foo" { | |
− | + | name = "bar" | |
− | + | image_tag_mutability = "MUTABLE" | |
− | } | + | |
− | + | image_scanning_configuration { | |
+ | scan_on_push = true | ||
+ | } | ||
+ | } | ||
== See also == | == See also == |
Revision as of 21:52, 1 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: