Skip to content

Commit

Permalink
Merge pull request #6 from geekcell/feat/id-output
Browse files Browse the repository at this point in the history
feat: add outputs
  • Loading branch information
janvt authored Aug 15, 2023
2 parents 45f7369 + cd6f011 commit 5f82a48
Show file tree
Hide file tree
Showing 2 changed files with 37 additions and 1 deletion.
9 changes: 8 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,14 @@ Comment in these badges if they apply to the repository.

## Outputs

No outputs.
| Name | Description |
|------|-------------|
| <a name="output_arn"></a> [arn](#output\_arn) | ARN of filesystem. |
| <a name="output_dns_name"></a> [dns\_name](#output\_dns\_name) | DNS address of filesystem. |
| <a name="output_id"></a> [id](#output\_id) | Id of filesystem. |
| <a name="output_kms_key_id"></a> [kms\_key\_id](#output\_kms\_key\_id) | DNS address of filesystem. |
| <a name="output_number_of_mount_targets"></a> [number\_of\_mount\_targets](#output\_number\_of\_mount\_targets) | DNS address of filesystem. |
| <a name="output_size_in_bytes"></a> [size\_in\_bytes](#output\_size\_in\_bytes) | DNS address of filesystem. |

## Providers

Expand Down
29 changes: 29 additions & 0 deletions outputs.tf
Original file line number Diff line number Diff line change
@@ -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."
}

0 comments on commit 5f82a48

Please sign in to comment.