variable "organization" { description = "The GitHub organisation." type = string } variable "billing_email" { description = "The organisation's billing address, which its settings resource requires." type = string } variable "collector_url" { description = "HTTPS address of the collector that receives security events and checks their signature." type = string validation { condition = startswith(var.collector_url, "https://") error_message = "The collector must use HTTPS." } } variable "webhook_secret" { description = "Shared secret GitHub signs each delivery with. Set it with TF_VAR_webhook_secret. It is stored in state." type = string sensitive = true } variable "existing_repositories" { description = "Existing repositories to switch Dependabot alerts and security updates on for. New repositories get them from the organisation defaults." type = list(string) default = [] } variable "security_team" { description = "Slug of a team given the security manager role, so it can see every alert in every repository. Leave empty to skip." type = string default = "" } variable "allowed_action_patterns" { description = "Third-party actions allowed besides GitHub's own and verified creators', such as my-org/*." type = list(string) default = [] } variable "require_sha_pinning" { description = "Refuse any workflow that uses an action by tag in place of a full commit SHA. Switch on once your workflows are pinned, because every unpinned one stops running." type = bool default = false }