file-share/terraform/outputs.tf
Adam Moussa cf5efb06ec
fix(infra): keep the file share off the public internet (PLAT-77)
The instance has no public IP. Office routes use the syslog VPN gateway and other egress uses a NAT gateway. DLM targets the tagged data volume, and replacement detaches stop the instance first.
2026-09-28 16:51:29 -04:00

17 lines
487 B
HCL

output "private_ip" {
description = "SMB (smb://ip/files), FileBrowser (http://ip:8080), and SFTP. Clients use this address, not the public IP."
value = one(aws_instance.this[*].private_ip)
}
output "public_ip" {
description = "Always empty. Egress uses the NAT gateway. Clients use private_ip."
value = one(aws_instance.this[*].public_ip)
}
output "instance_id" {
value = one(aws_instance.this[*].id)
}
output "subnet_id" {
value = aws_subnet.file_share.id
}