Skip to content

Commit

Permalink
Merge pull request #11 from geekcell/access-point-ids
Browse files Browse the repository at this point in the history
Fix: output descriptions and add missing access point outputs
  • Loading branch information
Ic3w0lf authored Nov 22, 2023
2 parents c085519 + 3d0a3b7 commit 3b85260
Show file tree
Hide file tree
Showing 2 changed files with 20 additions and 6 deletions.
8 changes: 5 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -69,12 +69,14 @@ Comment in these badges if they apply to the repository.

| Name | Description |
|------|-------------|
| <a name="output_access_point_arns"></a> [access\_point\_arns](#output\_access\_point\_arns) | ARNs of created access points. |
| <a name="output_access_point_ids"></a> [access\_point\_ids](#output\_access\_point\_ids) | IDs of created access points. |
| <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. |
| <a name="output_kms_key_id"></a> [kms\_key\_id](#output\_kms\_key\_id) | ID of the KMS key used to encrypt the EFS. |
| <a name="output_number_of_mount_targets"></a> [number\_of\_mount\_targets](#output\_number\_of\_mount\_targets) | Number of mount targets of the EFS file system. |
| <a name="output_size_in_bytes"></a> [size\_in\_bytes](#output\_size\_in\_bytes) | Size of the EFS file system. |

## Providers

Expand Down
18 changes: 15 additions & 3 deletions outputs.tf
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
## FILE SYSTEM
output "arn" {
value = aws_efs_file_system.main.arn
description = "ARN of filesystem."
Expand All @@ -15,15 +16,26 @@ output "dns_name" {

output "size_in_bytes" {
value = aws_efs_file_system.main.size_in_bytes
description = "DNS address of filesystem."
description = "Size of the EFS file system."
}

output "number_of_mount_targets" {
value = aws_efs_file_system.main.number_of_mount_targets
description = "DNS address of filesystem."
description = "Number of mount targets of the EFS file system."
}

output "kms_key_id" {
value = aws_efs_file_system.main.kms_key_id
description = "DNS address of filesystem."
description = "ID of the KMS key used to encrypt the EFS."
}

## ACCESS POINTS
output "access_point_ids" {
value = { for key, val in aws_efs_access_point.main : key => val.id }
description = "IDs of created access points."
}

output "access_point_arns" {
value = { for key, val in aws_efs_access_point.main : key => val.arn }
description = "ARNs of created access points."
}

0 comments on commit 3b85260

Please sign in to comment.