| page_title | cozystack_foundationdb Resource - cozystack |
|---|---|
| subcategory | |
| description | A Cozystack managed FoundationDB cluster, deployed inside a tenant namespace. The cluster topology, deprecated backup, monitoring, and securityContext blocks use server defaults. |
A Cozystack managed FoundationDB cluster, deployed inside a tenant namespace. The cluster topology, deprecated backup, monitoring, and securityContext blocks use server defaults.
resource "cozystack_foundationdb" "fdb" {
name = "fdb"
namespace = "tenant-root"
resources_preset = "c1.medium"
storage = { size = "32Gi" }
image_type = "unified"
}name(String) FoundationDB instance name (metadata.name). Immutable.namespace(String) Tenant namespace the application is created in. Immutable.
automatic_replacements(Boolean) Enable automatic pod replacements.custom_parameters(List of String) Custom parameters passed to FoundationDB.image_type(String) Container image deployment type (unifiedorsplit).resources(Attributes) Explicit CPU and memory per replica; overridesresources_presetfor any field set. (see below for nested schema)resources_preset(String) Sizing preset applied whenresourcesis omitted.storage(Attributes) Persistent storage configuration. (see below for nested schema)wait_for_ready(Boolean) Block on create/update until the tenant'sReadycondition is true.wait_timeout(String) Maximum time to wait whenwait_for_readyis set (Go duration, e.g.10m).
chart_version(String) Deployed chart version (status.version).id(String) Synthetic identifier in the formnamespace/name.ready(Boolean) Whether the application'sReadycondition is true.uid(String) Server-assigned object UID (metadata.uid). Stable across updates; changes on recreate.
Optional:
cpu(String) CPU available to each replica (quantity, e.g.500m).memory(String) Memory available to each replica (quantity, e.g.512Mi).
Optional:
size(String) Size of persistent volumes for each instance.storage_class(String) StorageClass used to store the data.
Import is supported using the following syntax:
The terraform import command can be used, for example:
# FoundationDB instances are imported as "<namespace>/<name>".
terraform import cozystack_foundationdb.fdb tenant-root/fdb