Skip to content

Commit b3553ad

Browse files
authored
Added output values (#15)
* Added output values * terraform-docs: automated update action Co-authored-by: jrpradojr <[email protected]>
1 parent 75d674d commit b3553ad

File tree

2 files changed

+16
-1
lines changed

2 files changed

+16
-1
lines changed

README.md

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,11 @@ The following resources will be created:
4040

4141
## Outputs
4242

43-
No output.
43+
| Name | Description |
44+
|------|-------------|
45+
| ecr\_arn | n/a |
46+
| ecr\_name | n/a |
47+
| ecr\_url | n/a |
4448

4549
<!--- END_TF_DOCS --->
4650

_outputs.tf

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
output "ecr_name" {
2+
value = aws_ecr_repository.default.name
3+
}
4+
5+
output "ecr_arn" {
6+
value = aws_ecr_repository.default.arn
7+
}
8+
9+
output "ecr_url" {
10+
value = aws_ecr_repository.default.repository_url
11+
}

0 commit comments

Comments
 (0)