Skip to content

Commit

Permalink
Update variables.tf
Browse files Browse the repository at this point in the history
  • Loading branch information
David Arnold authored and GitHub committed Dec 4, 2024
1 parent 1f4aacf commit 2453936
Showing 1 changed file with 24 additions and 0 deletions.
24 changes: 24 additions & 0 deletions variables.tf
Original file line number Diff line number Diff line change
Expand Up @@ -211,3 +211,27 @@ variable gitignore_template {
variable homepage_url {
default = null
}

variable security_and_analysis {
description = <<EOT
Security and Analysis Configuration
The security_and_analysis block supports the following:
advanced_security - (Optional) The advanced security configuration for the repository. See Advanced Security Configuration below for details. If a repository's visibility is public, advanced security is always enabled and cannot be changed, so this setting cannot be supplied.
secret_scanning - (Optional) The secret scanning configuration for the repository. See Secret Scanning Configuration below for details.
secret_scanning_push_protection - (Optional) The secret scanning push protection configuration for the repository. See Secret Scanning Push Protection Configuration below for details.
EOT
type = object({
advanced_security = optional(object({
status = string
}, { status = "disabled" })
secret_scanning = optional(object({
status = string
}, { status = "disabled" })
secret_scanning_push_protection = optional(object({
status = string
}, { status = "disabled" })
})
}

0 comments on commit 2453936

Please sign in to comment.