mirror of
https://github.com/Sea-Haven-Industries/file-share.git
synced 2026-10-02 09:33:14 +00:00
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.
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 = "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
|
|
}
|