output "compartment_id" { value = local.target_compartment_id } output "vcn_id" { value = local.network_vcn_id } output "public_subnet_id" { value = local.public_subnet_id } output "email_subnet_id" { value = local.email_subnet_id } output "private_subnet_id" { value = try(oci_core_subnet.private[0].id, null) } output "edge_instance_id" { value = try(oci_core_instance.edge[0].id, data.oci_core_instance.existing_edge[0].id, null) } output "edge_public_ip" { value = try(oci_core_instance.edge[0].public_ip, data.oci_core_instance.existing_edge[0].public_ip, null) } output "email_instance_id" { value = try(oci_core_instance.email[0].id, null) } output "email_public_ip" { value = try(oci_core_instance.email[0].public_ip, null) } output "bastion_id" { value = try(oci_bastion_bastion.homelab[0].id, null) } output "bastion_target_subnet_id" { value = try(oci_bastion_bastion.homelab[0].target_subnet_id, null) } output "backup_bucket_id" { value = try(oci_objectstorage_bucket.homelab_backups[0].id, null) } output "backup_bucket_name" { value = try(oci_objectstorage_bucket.homelab_backups[0].name, null) } output "backup_bucket_namespace" { value = try(oci_objectstorage_bucket.homelab_backups[0].namespace, null) } output "next_steps" { value = [ "Set LAB_EDGE_HOST to edge_public_ip and run ./jeannie edge to configure the edge proxy.", "Install and harden the selected mail server on email_public_ip before opening mail ports.", "Reserve the email public IP and request OCI reverse DNS/PTR before production mail.", "Request OCI SMTP port 25 access; it is restricted by default for newer tenancies.", "Add DNS A/AAAA, MX, SPF, DKIM, and DMARC records only after choosing the mail domain.", ] }