From 87400c52eb98beadb3903624351723e4e026f9ae Mon Sep 17 00:00:00 2001 From: janvt Date: Tue, 15 Aug 2023 11:04:55 +0200 Subject: [PATCH 1/2] add outputs --- outputs.tf | 29 +++++++++++++++++++++++++++++ 1 file changed, 29 insertions(+) diff --git a/outputs.tf b/outputs.tf index e69de29..51cad7a 100644 --- a/outputs.tf +++ b/outputs.tf @@ -0,0 +1,29 @@ +output "arn" { + value = aws_efs_file_system.main.arn + description = "ARN of filesystem." +} + +output "id" { + value = aws_efs_file_system.main.id + description = "Id of filesystem." +} + +output "dns_name" { + value = aws_efs_file_system.main.dns_name + description = "DNS address of filesystem." +} + +output "size_in_bytes" { + value = aws_efs_file_system.main.size_in_bytes + description = "DNS address of filesystem." +} + +output "number_of_mount_targets" { + value = aws_efs_file_system.main.number_of_mount_targets + description = "DNS address of filesystem." +} + +output "kms_key_id" { + value = aws_efs_file_system.main.kms_key_id + description = "DNS address of filesystem." +} From cd6f011ac6f17941dceb705611587b273b4dd0e6 Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" Date: Tue, 15 Aug 2023 09:05:54 +0000 Subject: [PATCH 2/2] terraform-docs: automated action --- README.md | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 5398ec7..73e4287 100644 --- a/README.md +++ b/README.md @@ -59,7 +59,14 @@ Comment in these badges if they apply to the repository. ## Outputs -No outputs. +| Name | Description | +|------|-------------| +| [arn](#output\_arn) | ARN of filesystem. | +| [dns\_name](#output\_dns\_name) | DNS address of filesystem. | +| [id](#output\_id) | Id of filesystem. | +| [kms\_key\_id](#output\_kms\_key\_id) | DNS address of filesystem. | +| [number\_of\_mount\_targets](#output\_number\_of\_mount\_targets) | DNS address of filesystem. | +| [size\_in\_bytes](#output\_size\_in\_bytes) | DNS address of filesystem. | ## Providers