Skip to content

Instantly share code, notes, and snippets.

@mbbroberg
Created November 23, 2017 20:47
Show Gist options
  • Save mbbroberg/a358253e6a1042c6abbe0901a7f80976 to your computer and use it in GitHub Desktop.
Save mbbroberg/a358253e6a1042c6abbe0901a7f80976 to your computer and use it in GitHub Desktop.
$ terraform apply -target=github_organization_webhook.release
An execution plan has been generated and is shown below.
Resource actions are indicated with the following symbols:
+ create
Terraform will perform the following actions:
+ github_organization_webhook.release
id: <computed>
active: "true"
configuration.%: "3"
configuration.content_type: "json"
configuration.insecure_ssl: "0"
configuration.url: "https://hooks.slack.com/services/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"
events.#: "1"
events.2655453981: "release"
name: "web"
url: <computed>
Plan: 1 to add, 0 to change, 0 to destroy.
Do you want to perform these actions?
Terraform will perform the actions described above.
Only 'yes' will be accepted to approve.
Enter a value: yes
github_organization_webhook.release: Creating...
active: "" => "true"
configuration.%: "" => "3"
configuration.content_type: "" => "json"
configuration.insecure_ssl: "" => "0"
configuration.url: "" => "https://hooks.slack.com/services/REDACTED"
events.#: "" => "1"
events.2655453981: "" => "release"
name: "" => "web"
url: "" => "<computed>"
Error: Error applying plan:
1 error(s) occurred:
* github_organization_webhook.release: 1 error(s) occurred:
* github_organization_webhook.release: POST https://api.github.com/orgs/sensu-plugins/hooks: 404 Not Found []
Terraform does not automatically rollback in the face of errors.
Instead, your Terraform state file has been partially updated with
any resources that successfully completed. Please address the error
above and apply again to incrementally change your infrastructure.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment