Skip to content

frostmoln_apache_instance (Data Source)

Look up a managed Apache webserver instance by ID.

Example Usage

terraform
data "frostmoln_apache_instance" "existing" {
  id = "web-abc123"
}

output "apache_existing_private_ip" {
  value = data.frostmoln_apache_instance.existing.private_ip
}

output "apache_existing_public_ip" {
  value = data.frostmoln_apache_instance.existing.public_ip
}

Schema

Required

  • id (String) The unique identifier of the Apache instance.

Read-Only

  • config (Map of String) Engine-specific configuration as key/value pairs (the applied engineConfig object).
  • created_at (String) The timestamp when the instance was created.
  • flavor_id (String) The flavor ID/size of the Apache instance.
  • name (String) The name of the Apache instance.
  • php_enabled (Boolean) Whether PHP support is enabled.
  • php_version (String) The PHP version.
  • port (Number) The port number the Apache instance is listening on.
  • private_ip (String) The private IP address of the Apache instance.
  • public (Boolean) Whether the instance is publicly exposed (a Public IP is associated so the site is reachable on the public internet).
  • public_ip (String) The public IP address associated with the instance while it is exposed (empty when not public).
  • status (String) The current status of the Apache instance.
  • storage_gb (Number) The storage size in gigabytes.
  • subnet_id (String) The subnet ID where the instance is deployed.
  • tenant_id (String) The tenant ID that owns this instance.
  • tls_enabled (Boolean) Whether TLS is enabled.
  • updated_at (String) The timestamp when the instance was last updated.
  • version (String) The Apache version.
  • vpc_id (String) The VPC ID where the instance is deployed.