Last active
April 21, 2024 13:27
-
-
Save ecukalla/be08f09d23f7dca3680b016e9fb98077 to your computer and use it in GitHub Desktop.
terraform github
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
terraform { | |
required_providers { | |
github = { | |
source = "integrations/github" | |
version = "~> 6.2.1" | |
} | |
} | |
} | |
# Configure the GitHub Provider | |
provider "github" {} | |
resource "github_repository" "this" { | |
has_downloads = false | |
has_issues = true | |
has_projects = false | |
has_wiki = false | |
name = "YOUR_GITHUB_REPO" | |
vulnerability_alerts = true | |
allow_update_branch = true | |
description = "" | |
homepage_url = "https://domain.org" | |
security_and_analysis { | |
secret_scanning { | |
status = "enabled" | |
} | |
secret_scanning_push_protection { | |
status = "enabled" | |
} | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment