From a765c320e49eaefaa67d7145f46ba98bcee1b0bd Mon Sep 17 00:00:00 2001 From: Seth Vargo Date: Mon, 10 Apr 2017 12:28:09 -0400 Subject: [PATCH] Update nomad provider --- .../docs/providers/nomad/index.html.markdown | 2 +- .../docs/providers/nomad/r/job.html.markdown | 42 +++++++++---------- 2 files changed, 22 insertions(+), 22 deletions(-) diff --git a/website/source/docs/providers/nomad/index.html.markdown b/website/source/docs/providers/nomad/index.html.markdown index 990f9a9e14..acf696d2e4 100644 --- a/website/source/docs/providers/nomad/index.html.markdown +++ b/website/source/docs/providers/nomad/index.html.markdown @@ -15,7 +15,7 @@ Use the navigation to the left to read about the available resources. ## Example Usage -``` +```hcl # Configure the Nomad provider provider "nomad" { address = "nomad.mycompany.com" diff --git a/website/source/docs/providers/nomad/r/job.html.markdown b/website/source/docs/providers/nomad/r/job.html.markdown index ca42e9c608..317473118d 100644 --- a/website/source/docs/providers/nomad/r/job.html.markdown +++ b/website/source/docs/providers/nomad/r/job.html.markdown @@ -6,7 +6,7 @@ description: |- Manages a job registered in Nomad. --- -# nomad\_job +# nomad_job Manages a job registered in Nomad. @@ -21,7 +21,7 @@ type of job, but can be used to manage any job within Nomad. Registering a job from a jobspec file: -``` +```hcl resource "nomad_job" "app" { jobspec = "${file("${path.module}/job.hcl")}" } @@ -33,31 +33,31 @@ be paired with something such as the [template_file](https://www.terraform.io/docs/providers/template/d/file.html) resource to render parameterized jobspecs. -``` +```hcl resource "nomad_job" "app" { jobspec = <