page_title | subcategory | description |
---|---|---|
grid_deployment Resource - terraform-provider-grid |
Deployment resource (zdbs + vms + disks + qsfs). |
Deployment resource (zdbs + vms + disks + qsfs).
node
(Number) Node id to place the deployment on
disks
(Block List) (see below for nested schema)ip_range
(String) IP range of the node (e.g. 10.1.2.0/24)network_name
(String) Network to use for Zmachinesqsfs
(Block List) (see below for nested schema)timeouts
(Block, Optional) (see below for nested schema)vms
(Block List) (see below for nested schema)zdbs
(Block List) (see below for nested schema)
id
(String) The ID of this resource.
Required:
name
(String) the disk name, used to reference it in zmachine mountssize
(Number) the disk size in GBs
Optional:
description
(String)
Required:
cache
(Number) The size of the fuse mountpoint on the node in MBs (holds qsfs local data before pushing)encryption_key
(String) 64 long hex encoded encryption key (e.g. 0000000000000000000000000000000000000000000000000000000000000000)expected_shards
(Number) The amount of shards which are generated when the data is encoded. Essentially, this is the amount of shards which is needed to be able to recover the data, and some disposable shards which could be lost. The amount of disposable shards can be calculated as expected_shards - minimal_shards.groups
(Block List, Min: 1) The backend groups to write the data to. (see below for nested schema)max_zdb_data_dir_size
(Number) Maximum size of the data dir in MiB, if this is set and the sum of the file sizes in the data dir gets higher than this value, the least used, already encoded file will be removed.metadata
(Block List, Min: 1, Max: 1) (see below for nested schema)minimal_shards
(Number) The minimum amount of shards which are needed to recover the original data.name
(String)redundant_groups
(Number) The amount of groups which one should be able to loose while still being able to recover the original data.redundant_nodes
(Number) The amount of nodes that can be lost in every group while still being able to recover the original data.
Optional:
compression_algorithm
(String) configuration to use for the compression stage. Currently only snappy is supporteddescription
(String)encryption_algorithm
(String) configuration to use for the encryption stage. Currently only AES is supported.
Read-Only:
metrics_endpoint
(String) QSFS exposed metrics
Optional:
backends
(Block List) (see below for nested schema)
Required:
address
(String) Address of backend zdb (e.g. [300:a582:c60c:df75:f6da:8a92:d5ed:71ad]:9900 or 60.60.60.60:9900)namespace
(String) ZDB namespacepassword
(String) Namespace password
Required:
encryption_key
(String) 64 long hex encoded encryption key (e.g. 0000000000000000000000000000000000000000000000000000000000000000)prefix
(String) Data stored on the remote metadata is prefixed with
Optional:
backends
(Block List) (see below for nested schema)encryption_algorithm
(String) configuration to use for the encryption stage. Currently only AES is supported.type
(String) configuration for the metadata store to use, currently only zdb is supported
Required:
address
(String) Address of backend zdb (e.g. [300:a582:c60c:df75:f6da:8a92:d5ed:71ad]:9900 or 60.60.60.60:9900)namespace
(String) ZDB namespacepassword
(String) Namespace password
Optional:
create
(String)
Required:
flist
(String) e.g. https://hub.grid.tf/omar0.3bot/omarelawady-ubuntu-20.04.flistname
(String)
Optional:
corex
(Boolean) Enable corexcpu
(Number) Number of VCPUsdescription
(String)entrypoint
(String) command to execute as the Zmachine initenv_vars
(Map of String) Environment variables to pass to the zmachineflist_checksum
(String) if present, the flist is rejected if it has a different hash. the flist hash can be found by appendip
(String) The private wg IP of the Zmachinememory
(Number) Memory sizemounts
(Block List) Zmachine mounts, can reference QSFSs and Disks (see below for nested schema)planetary
(Boolean) Enable Yggdrasil allocationpublicip
(Boolean) true to enable public ip reservationpublicip6
(Boolean) true to enable public ipv6 reservationrootfs_size
(Number) Rootfs size in MBzlogs
(List of String) Zlogs is a utility workload that allows you to streamzmachine
logs to a remote location.
Read-Only:
computedip
(String) The reserved public ipcomputedip6
(String) The reserved public ipv6ygg_ip
(String) Allocated Yggdrasil IP
Required:
disk_name
(String) Name of QSFS or Disk to mountmount_point
(String) Directory to mount the disk on inside the Zmachine
Required:
name
(String)password
(String)size
(Number) Size of the zdb in GBs
Optional:
description
(String)mode
(String) Mode of the zdb, user or seqpublic
(Boolean) Makes it read-only if password is set, writable if no password set
Read-Only:
ips
(List of String) IPs of the zdbnamespace
(String) Namespace of the zdbport
(Number) Port of the zdb