Terraform Version
Terraform v0.13.6
+ provider registry.terraform.io/integrations/github v4.5.0
Affected Resource(s)
Terraform Configuration Files
resource "github_repository" "simulator" {
visibility = "private"
name = "simulator"
delete_branch_on_merge = true
has_issues = false
has_projects = false
has_wiki = false
vulnerability_alerts = true
}
Expected Behavior
When initially creating the resource, vulnerability alerts should be enabled.
Actual Behavior
Repository is initially created with vulnerability alerts disabled, and running Terraform again enables the vulnerability alerts.
Steps to Reproduce
terraform apply