file-share/terraform/outputs.tf
Adam Moussa 7cb3f6510f
feat(infra): add HCP Terraform for the prod file share (PLAT-77)
The prod host will live on a subnet in the syslog VPC. The data volume stays unmanaged and is attached only after a snapshot copy.
2026-09-28 16:38:03 -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 = "Egress address for package install and SSM. Not a client endpoint."
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
}