github.com/erriapo/terraform@v0.6.12-0.20160203182612-0340ea72354f/website/source/docs/providers/aws/r/ecr_repository.html.markdown (about)

     1  ---
     2  layout: "aws"
     3  page_title: "AWS: aws_ecr_repository"
     4  sidebar_current: "docs-aws-resource-ecr-repository"
     5  description: |-
     6    Provides an EC2 Container Registry Repository.
     7  ---
     8  
     9  # aws\_ecr\_repository
    10  
    11  Provides an EC2 Container Registry Repository.
    12  
    13  ~> **NOTE on ECR Availability**: The EC2 Container Registry has an [initial
    14  launch region of
    15  `us-east-1`](https://aws.amazon.com/blogs/aws/ec2-container-registry-now-generally-available/).
    16  As more regions become available, they will be listed [in the AWS
    17  Docs](https://docs.aws.amazon.com/general/latest/gr/rande.html#ecr_region)
    18  
    19  ## Example Usage
    20  
    21  ```
    22  resource "aws_ecr_repository" "foo" {
    23    name = "bar"
    24  }
    25  ```
    26  
    27  ## Argument Reference
    28  
    29  The following arguments are supported:
    30  
    31  * `name` - (Required) Name of the repository.
    32  
    33  ## Attributes Reference
    34  
    35  The following attributes are exported:
    36  
    37  * `arn` - Full ARN of the repository.
    38  * `name` - The name of the repository.
    39  * `registry_id` - The registry ID where the repository was created.