Skip to content

Instantly share code, notes, and snippets.

@vsivsi
Created May 25, 2017 18:09
Show Gist options
  • Save vsivsi/e1fa6c0deddef289d829faf28c00e609 to your computer and use it in GitHub Desktop.
Save vsivsi/e1fa6c0deddef289d829faf28c00e609 to your computer and use it in GitHub Desktop.
debug output
$ terraform apply
nomad_job.import_snapshot: Refreshing state... (ID: import_snapshot)
nomad_job.import_snapshot: Modifying... (ID: import_snapshot)
nomad_job.import_snapshot: Modifications complete (ID: import_snapshot)
Apply complete! Resources: 0 added, 1 changed, 0 destroyed.
The state of your infrastructure has been saved to the path
below. This state is required to modify and destroy your
infrastructure, so keep it safe. To inspect the complete state
use the `terraform show` command.
State path:
$ nomad job dispatch -meta SNAPSHOT_PATH=sdfjkl/snapshot/dsfjklsfd import_snapshot
Failed to dispatch job: Unexpected response code: 500 (Specified job "import_snapshot" is not a parameterized job)
$ nomad run import_snapshot.nomad
Job registration successful
$ nomad job dispatch -meta SNAPSHOT_PATH=sdfjkl/snapshot/dsfjklsfd import_snapshot
Dispatched Job ID = import_snapshot/dispatch-1495734969-9f39c4e8
Evaluation ID = d922236d
==> Monitoring evaluation "d922236d"
Evaluation triggered by job "import_snapshot/dispatch-1495734969-9f39c4e8"
Allocation "0339a95f" created: node "956cca7b", group "instance"
Allocation "0339a95f" status changed: "pending" -> "complete"
Evaluation status changed: "pending" -> "complete"
==> Evaluation "d922236d" finished with status "complete"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment