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) Type-specific configuration as key/value pairs (the applied typeConfig 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).
  • security_group_id (String) The platform-managed security group attached to this instance. The platform creates and owns it: the group is not intended for customer modification, and changes to it are normally rejected. Do not import it as a frostmoln_security_group -- reads succeed, but applies including destroy are refused. It allows inbound tcp/80 and tcp/443 from any source (0.0.0.0/0), and outbound is unrestricted. Empty until the instance has finished provisioning.
  • 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.
  • tags (Map of String) Every resource tag on the Apache instance — the same set as the resource's tags_all: your own key/value metadata, never applied to the service itself. An empty map when it has none.
  • 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.