Terraform module used to deploy nomad jobs with optional CSI storage and consul integrations.
https://ednz.fr
examples | ||
modules | ||
.gitignore | ||
.pre-commit-config.yaml | ||
LICENSE | ||
main.tf | ||
outputs.tf | ||
README.md | ||
variables.tf |
Requirements
No requirements.
Providers
Name | Version |
---|---|
consul | n/a |
nomad | n/a |
Modules
No modules.
Resources
Name | Type |
---|---|
consul_intention.this | resource |
consul_key_prefix.this | resource |
nomad_csi_volume.this | resource |
nomad_csi_volume_registration.this | resource |
nomad_job.this | resource |
Inputs
Name | Description | Type | Default | Required |
---|---|---|---|---|
consul_intentions | List of intentions associated with the job(s) | map(object({ |
{} |
no |
consul_kv | List key/value pairs to put at a specific prefix (mainly for traefik) | map(any) |
{} |
no |
jobs | The list of jobs to deploy | map(string) |
{} |
no |
jobs_variables | Map of object to pass variables to the nomad job(s). Key is the job's name, value is a map of variables and their values | map(map(string)) |
{} |
no |
nfs_volumes | List of nfs volumes associated to the job(s) | map(object({ |
{} |
no |
volumes | List of volumes associated to the job(s) | map(object({ |
{} |
no |
Outputs
No outputs.