Resource: yet_cloud_pool
Runtimes that run the same environments together — across servers, or clouds.
Example Usage
# Two runtimes, on two clouds, running the same environments — behind one tunnel.
resource "yet_cloud_pool" "web" {
name = "web"
color = "violet"
runtime_ids = [yet_cloud_runtime.office.id, yet_cloud_runtime.aws.id]
tunnel = true
}Schema
Required
name(String) Its name: lowercase letters, digits and dashes, up to 32, starting with a letter.
Optional
color(String) How Cloud draws it:gray,red,orange,amber,green,teal,sky,blue,violet,pink.description(String) What it is for.move_environments(Boolean) Whether the environments of runtimes joining move onto the pool, or stay theirs. Cloud asks when a joining runtime has some.runtime_ids(Set of String) Its members.tunnel(Boolean) Whether it is behind a Cloudflare tunnel of its own — its edge, for every member — or its members are each reached on their own. Opening or closing it is a Cloud admin's.
Read-Only
id(String) The ID of this resource.tunnel_id(String) Its Cloudflare tunnel, when it has one.
Import
In Terraform v1.5.0 and later, with an import block:
import {
to = yet_cloud_pool.web
id = "01J9Z8K3V7Q2M4N6P8R0S2T4V6"
}With terraform import:
terraform import yet_cloud_pool.web 01J9Z8K3V7Q2M4N6P8R0S2T4V6