Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support import of github_organization_webhook #493

Closed
MPV opened this issue Jun 17, 2020 · 0 comments · Fixed by #487
Closed

Support import of github_organization_webhook #493

MPV opened this issue Jun 17, 2020 · 0 comments · Fixed by #487

Comments

@MPV
Copy link

MPV commented Jun 17, 2020

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant