-
Notifications
You must be signed in to change notification settings - Fork 948
Support import of github_organization_webhook #493
Copy link
Copy link
Closed
Description
Terraform Version
$ terraform version
Terraform v0.12.20
+ provider.github v2.8.1
Affected Resource(s)
Terraform Configuration Files
resource "github_organization_webhook" "mywebhook" {
active = true
configuration {
url = "https://${var.some_url}/events"
content_type = "json"
secret = var.some_secret
}
events = ["issue_comment", "pull_request", "pull_request_review", "push"]
}
provider "github" {
token = var.a_github_token
organization = var.a_github_organization
}Expected Behavior
Being able to import a github_organization_webhook
Actual Behavior
Error: resource github_organization_webhook doesn't support import
Steps to Reproduce
$ terraform import github_organization_webhook.mywebhook 123456789
github_organization_webhook.mywebhook: Importing from ID "123456789"...
Error: resource github_organization_webhook doesn't support import
Notes
github_repository_webhookhas documented support for importinggithub_organization_webhookdoesn't mention import
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels