Skip to content

Commit

Permalink
Added output values (#15)
Browse files Browse the repository at this point in the history
* Added output values

* terraform-docs: automated update action

Co-authored-by: jrpradojr <[email protected]>
  • Loading branch information
jrpradojr and jrpradojr authored Mar 30, 2022
1 parent 75d674d commit b3553ad
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 1 deletion.
6 changes: 5 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,11 @@ The following resources will be created:

## Outputs

No output.
| Name | Description |
|------|-------------|
| ecr\_arn | n/a |
| ecr\_name | n/a |
| ecr\_url | n/a |

<!--- END_TF_DOCS --->

Expand Down
11 changes: 11 additions & 0 deletions _outputs.tf
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
output "ecr_name" {
value = aws_ecr_repository.default.name
}

output "ecr_arn" {
value = aws_ecr_repository.default.arn
}

output "ecr_url" {
value = aws_ecr_repository.default.repository_url
}

0 comments on commit b3553ad

Please sign in to comment.