This resource allows you to manage dependabot automated security fixes for a single repository. See the documentation for details of usage and how this will impact your repository
resource "github_repository" "repo" {
name = "my-repo"
description = "GitHub repo managed by Terraform"
private = false
vulnerability_alerts = true
}
resource "github_repository_dependabot_security_updates" "example" {
repository = github_repository.test.id
enabled = true
}
The following arguments are supported:
repository
- (Required) The repository to manage.
enabled
- (Required) The state of the automated security fixes.
Automated security references can be imported using the name
of the repository
terraform import github_repository_dependabot_security_updates.example my-repo