mirror of
https://github.com/Sea-Haven-Industries/file-share.git
synced 2026-09-30 07:43:17 +00:00
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.
17 lines
487 B
HCL
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
|
|
}
|