# Outputs ======================================================================

output "id" {
  description = "FSx filesystem ID."
  value       = aws_fsx_windows_file_system.this.id
}

output "arn" {
  description = "FSx filesystem ARN."
  value       = aws_fsx_windows_file_system.this.arn
}

output "dns_name" {
  description = "DNS name of the filesystem. Use this as the mount target from Windows instances."
  value       = aws_fsx_windows_file_system.this.dns_name
}

output "preferred_file_server_ip" {
  description = "IP address of the primary file server (MULTI_AZ_1 only)."
  value       = aws_fsx_windows_file_system.this.preferred_file_server_ip
}

output "remote_administration_endpoint" {
  description = "Remote administration endpoint for managing the filesystem via Windows PowerShell."
  value       = aws_fsx_windows_file_system.this.remote_administration_endpoint
}

output "security_group_id" {
  description = "ID of the FSx security group. Reference this from other modules that need mount access."
  value       = aws_security_group.fsx.id
}

output "storage_capacity_gb" {
  description = "Provisioned storage capacity in GiB."
  value       = aws_fsx_windows_file_system.this.storage_capacity
}

output "throughput_capacity_mbps" {
  description = "Provisioned throughput capacity in MB/s."
  value       = aws_fsx_windows_file_system.this.throughput_capacity
}
