Resolve configuration issues (#8)

Reviewed-on: #8
This commit is contained in:
Ben Martin 2024-06-15 15:59:43 +01:00
parent 65267f21f7
commit 05d7a87306
2 changed files with 8 additions and 7 deletions

View file

@ -46,8 +46,6 @@ jobs:
run: terraform plan -out=tfplan
continue-on-error: true
- uses: hashicorp/setup-nomad@main
- name: Install jq
run: sudo apt-get update && sudo apt-get install -y jq
- name: Nomad Validate
run: terraform show -json tfplan | jq -r '.planned_values.root_module.child_modules[].resources[].values.jobspec' | nomad job validate -json -
- uses: actions/github-script@v7

View file

@ -19,11 +19,14 @@
"target": "/media",
"volume_options": {
"driver_config": {
"name": "nfs",
"options": {
"name": "local",
"options": [
{
"type": "nfs",
"o": "addr=martinibar.lan,nolock,soft,rw",
"device": ":/volume1/docker"
}
]
}
}
},