Skip to content

insecure_ssl = true parameter is not working #352

@ruzickap

Description

@ruzickap

Terraform Version

$ terraform -v
Terraform v0.12.18

Affected Resource(s)

  • github_repository_webhook
  • (maybe also github_organization_webhook)

Terraform Configuration Files

provider "github" {
  token        = var.prow_oauth_token
  organization = "MyOrg"
}

resource "github_repository_webhook" "prow" {
  repository = "MyRepo"

  configuration {
    url          = "https://prow.myexample.com/hook"
    content_type = "json"
    insecure_ssl = true
    secret       = var.github_webhook_prow_secret
  }

  active = true
  events = ["*"]
}

Actual Behavior

The GitHub Webhook is properly created, but the "SSL Validation" is not disabled.

Steps to Reproduce

I'm using the Terrafrom code mentioned above to create GitHub Webhook.
In the code above you can see the I would like to disable SSL Validation by setting the parameter insecure_ssl = true.

The GitHub Webhook is created by Terraform properly, but the SSL Validation is not disabled - see the screenshot:

image

If I manually click in GitHub Web GUI to "Disable" the webhook is working fine like it should be - but I can not do it via Terraform now.

Thanks for looking at it.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Status: Up for grabsIssues that are ready to be worked on by anyoneType: BugSomething isn't working as documentedsize/S

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions