You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
resource "github_organization_webhook" "argocd" {
# name = "argocd"
configuration {
url = "https://argocd.${var.organization_domain}/api/webhook"
content_type = "application/json" # BUG IS HERE
insecure_ssl = false
}
active = true
events = ["push"]
}
Actual Behavior
Github sends request with "application/x-www-form-urlencoded" header, but it shows application/json in UI.
Re-enabling application/json manually in UI fixes this.
I realized that the expected value is json , but application/json does not throw a validation error and UI shows application/json misleadingly.
Need to add validation and clarify Provider doc page, please.
Expected Behavior
Actual Behavior
Github sends request with "application/x-www-form-urlencoded" header, but it shows application/json in UI.
Re-enabling application/json manually in UI fixes this.
Terraform Version
Terraform v1.9.5
Affected Resource(s)
github_organization_webhook
Terraform Configuration Files
No response
Steps to Reproduce
No response
Debug Output
No response
Panic Output
No response
Code of Conduct
The text was updated successfully, but these errors were encountered: