Created
July 11, 2017 12:15
-
-
Save stack72/e9de3ea80d225f9fa197880faf4b1559 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # aws\_ecr\_repository | |
| The ECR Repository data source allows the ARN, Repository URI and Registry ID to be retrieved for an ECR repository. | |
| ## Example Usage | |
| ```hcl | |
| data "aws_ecr_repository" "service" { | |
| name = "ecr-repository" | |
| } | |
| ``` | |
| ## Argument Reference | |
| The following arguments are supported: | |
| * `name` - (Required) The name of the ECR Repository. | |
| ## Attributes Reference | |
| The following attributes are exported: | |
| * `arn` - Full ARN of the repository. | |
| * `registry_id` - The registry ID where the repository was created. | |
| * `repository_url` - The URL of the repository (in the form `aws_account_id.dkr.ecr.region.amazonaws.com/repositoryName`). |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment