github_repository_dependabot_security_updates

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

Example Usage

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
}

Argument Reference

The following arguments are supported:

Import

Automated security references can be imported using the name of the repository

Import by name

terraform import github_repository_dependabot_security_updates.example my-repo