Skip to content

Commit

Permalink
Merge pull request 2i2c-org#4674 from sgibson91/aws-tf/efs-server-names
Browse files Browse the repository at this point in the history
Print the names of the EFS servers along with their DNS addresses
  • Loading branch information
sgibson91 authored Aug 23, 2024
2 parents db89b17 + 0ac8c8c commit a879a7e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions terraform/aws/efs.tf
Original file line number Diff line number Diff line change
Expand Up @@ -109,8 +109,8 @@ resource "aws_efs_mount_target" "hub_homedirs" {
security_groups = [data.aws_security_group.cluster_nodes_shared_security_group.id]
}

output "nfs_server_dns_list" {
value = values(aws_efs_file_system.hub_homedirs)[*].dns_name
output "nfs_server_dns_map" {
value = { for nfs in values(aws_efs_file_system.hub_homedirs)[*] : nfs.name => nfs.dns_name }
}

# Enable automatic backups for user homedirectories
Expand Down

0 comments on commit a879a7e

Please sign in to comment.