frostmoln_nginx_instance (Data Source)
Look up a managed Nginx webserver instance by ID.
Example Usage
terraform
data "frostmoln_nginx_instance" "existing" {
id = "web-abc123"
}
output "nginx_existing_private_ip" {
value = data.frostmoln_nginx_instance.existing.private_ip
}
output "nginx_existing_public_ip" {
value = data.frostmoln_nginx_instance.existing.public_ip
}Schema
Required
id(String) The unique identifier of the Nginx 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 Nginx instance.name(String) The name of the Nginx instance.php_enabled(Boolean) Whether PHP support is enabled.php_version(String) The PHP version.port(Number) The port number the Nginx instance is listening on.private_ip(String) The private IP address of the Nginx 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 Nginx 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 Nginx instance — the same set as the resource'stags_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 Nginx version.vpc_id(String) The VPC ID where the instance is deployed.