Skip to content

Instantly share code, notes, and snippets.

@wallacepf
Created October 22, 2021 22:19
Show Gist options
  • Save wallacepf/7bf4863122f539159bd1bb4329cf67b1 to your computer and use it in GitHub Desktop.
Save wallacepf/7bf4863122f539159bd1bb4329cf67b1 to your computer and use it in GitHub Desktop.
Run error
Terraform v1.0.9
on linux_amd64
Initializing plugins and modules...
{"@level":"info","@message":"Terraform 1.0.9","@module":"terraform.ui","@timestamp":"2021-10-22T22:02:43.546970Z","terraform":"1.0.9","type":"version","ui":"0.1.0"}
{"@level":"info","@message":"nomad_namespace.cicd: Plan to create","@module":"terraform.ui","@timestamp":"2021-10-22T22:02:47.096907Z","change":{"resource":{"addr":"nomad_namespace.cicd","module":"","resource":"nomad_namespace.cicd","implied_provider":"nomad","resource_type":"nomad_namespace","resource_name":"cicd","resource_key":null},"action":"create"},"type":"planned_change"}
{"@level":"info","@message":"nomad_job.gl-runner: Plan to replace","@module":"terraform.ui","@timestamp":"2021-10-22T22:02:47.097058Z","change":{"resource":{"addr":"nomad_job.gl-runner","module":"","resource":"nomad_job.gl-runner","implied_provider":"nomad","resource_type":"nomad_job","resource_name":"gl-runner","resource_key":null},"action":"replace","reason":"cannot_update"},"type":"planned_change"}
{"@level":"info","@message":"nomad_job.gl-runner: Destroying... [id=gitlab-runners]","@module":"terraform.ui","@timestamp":"2021-10-22T22:02:47.302569Z","hook":{"resource":{"addr":"nomad_job.gl-runner","module":"","resource":"nomad_job.gl-runner","implied_provider":"nomad","resource_type":"nomad_job","resource_name":"gl-runner","resource_key":null},"action":"delete","id_key":"id","id_value":"gitlab-runners"},"type":"apply_start"}
{"@level":"info","@message":"nomad_job.gl-runner: Destruction complete after 1s","@module":"terraform.ui","@timestamp":"2021-10-22T22:02:47.720563Z","hook":{"resource":{"addr":"nomad_job.gl-runner","module":"","resource":"nomad_job.gl-runner","implied_provider":"nomad","resource_type":"nomad_job","resource_name":"gl-runner","resource_key":null},"action":"delete","elapsed_seconds":1},"type":"apply_complete"}
{"@level":"info","@message":"nomad_namespace.cicd: Creating...","@module":"terraform.ui","@timestamp":"2021-10-22T22:02:47.722030Z","hook":{"resource":{"addr":"nomad_namespace.cicd","module":"","resource":"nomad_namespace.cicd","implied_provider":"nomad","resource_type":"nomad_namespace","resource_name":"cicd","resource_key":null},"action":"create"},"type":"apply_start"}
{"@level":"info","@message":"nomad_namespace.cicd: Creation complete after 0s [id=cicd]","@module":"terraform.ui","@timestamp":"2021-10-22T22:02:47.740884Z","hook":{"resource":{"addr":"nomad_namespace.cicd","module":"","resource":"nomad_namespace.cicd","implied_provider":"nomad","resource_type":"nomad_namespace","resource_name":"cicd","resource_key":null},"action":"create","id_key":"id","id_value":"cicd","elapsed_seconds":0},"type":"apply_complete"}
{"@level":"info","@message":"nomad_job.gl-runner: Creating...","@module":"terraform.ui","@timestamp":"2021-10-22T22:02:47.752567Z","hook":{"resource":{"addr":"nomad_job.gl-runner","module":"","resource":"nomad_job.gl-runner","implied_provider":"nomad","resource_type":"nomad_job","resource_name":"gl-runner","resource_key":null},"action":"create"},"type":"apply_start"}
{"@level":"info","@message":"nomad_job.gl-runner: Creation errored after 0s","@module":"terraform.ui","@timestamp":"2021-10-22T22:02:47.763780Z","hook":{"resource":{"addr":"nomad_job.gl-runner","module":"","resource":"nomad_job.gl-runner","implied_provider":"nomad","resource_type":"nomad_job","resource_name":"gl-runner","resource_key":null},"action":"create","elapsed_seconds":0},"type":"apply_errored"}
{"@level":"error","@message":"Error: Provider produced inconsistent result after apply","@module":"terraform.ui","@timestamp":"2021-10-22T22:02:48.242553Z","diagnostic":{"severity":"error","summary":"Provider produced inconsistent result after apply","detail":"When applying changes to nomad_job.gl-runner, provider \"provider[\\\"registry.terraform.io/hashicorp/nomad\\\"]\" produced an unexpected new value: , but now absent.\n\nThis is a bug in the provider, which should be reported in the provider's own issue tracker."},"type":"diagnostic"}
Operation failed: failed running terraform apply (exit 1)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment