Skip to content

Module - Update GitHub App Webhook

This module is treated as internal module, breaking changes will not trigger a major release bump.

This module is using the local executor to run a bash script.

This module updates the GitHub App webhook with the endpoint and secret and can be changed with the root module. The module is used to update the webhook after applying the examples.

Requirements

Name Version
terraform >= 1.3.0
null ~> 3

Providers

Name Version
null ~> 3

Modules

No modules.

Resources

Name Type
null_resource.update_app resource

Inputs

Name Description Type Default Required
github_app GitHub app parameters, see your github app. Ensure the key is the base64-encoded .pem file (the output of base64 app.private-key.pem, not the content of private-key.pem).
object({
key_base64 = string
id = string
webhook_secret = string
})
n/a yes
webhook_endpoint The endpoint to use for the webhook, defaults to the endpoint of the runners module. string n/a yes

Outputs

No outputs.