Skip to content

bitrockteam/caravan-cloudinit

Repository files navigation

Caravan CloudInit

Requirements

No requirements.

Providers

Name Version
cloudinit n/a

Modules

No modules.

Resources

Name Type
cloudinit_config.control_plane data source
cloudinit_config.monitoring data source
cloudinit_config.worker_plane data source
cloudinit_config.worker_plane_startup_script data source

Inputs

Name Description Type Default Required
cluster_nodes n/a map(any) n/a yes
dc_name n/a string n/a yes
vault_endpoint n/a string n/a yes
auto_auth_type n/a string "" no
aws_access_key (optional) Static AWS Access Key credential for authentication string null no
aws_node_role (optional) Configured AWS role of the node string null no
aws_secret_key (optional) Static AWS Secret Key credential for authentication string null no
azure_node_role (optional) Configured Azure role of the node string null no
azure_resource (optional) A configured Azure AD application which is used as the resource for generating MSI access tokens string "https://management.azure.com/" no
base64 n/a bool true no
consul_data Consul data directory to be mounted string "/var/lib/consul" no
consul_home Consul home directory to be mounted string "/etc/consul.d" no
consul_persistent_device Device where to persist Caravan Consul data and configs string "" no
docker_volume_enable Allow mounting host paths outside of the allocation working directory bool false no
gcp_node_role (optional) Configured GCP role of the node string null no
gcp_project_id (optional) The GCP Project ID string null no
gcp_service_account (optional) Configured GCP service account string null no
gzip n/a bool true no
host_volumes Define a list of host_volume to make volumes available to jobs list(map(string)) [] no
nodeType n/a string "worker" no
nomad_data Nomad data directory to be mounted string "/var/lib/nomad" no
nomad_home Nomad home directory to be mounted string "/etc/nomad.d" no
nomad_persistent_device Device where to persist Caravan Nomad data and configs string "" no
oci_node_role (optional) Configured OCI role of the node string null no
partition_prefix Partition prefix. like p or empty if /dev/nvme1n1p1 or /dev/sdd1 string "" no
vault_data Vault data directory to be mounted string "/var/lib/vault" no
vault_home Vault home directory to be mounted string "/etc/vault.d" no
vault_persistent_device Device where to persist Caravan Vault data and configs string "" no

Outputs

Name Description
control_plane_user_data n/a
monitoring_user_data n/a
worker_plane_startup_script n/a
worker_plane_user_data n/a