-
Notifications
You must be signed in to change notification settings - Fork 892
Open
Labels
Status: TriageThis is being looked at and prioritizedThis is being looked at and prioritizedType: BugSomething isn't working as documentedSomething isn't working as documented
Description
Expected Behavior
We used provider version 6.6 since February without issue to, among other things, create repositories on a GHES instance.
When we try to bump to 6.7.x, we have this error when we create a new repository :
╷
│ Error: DELETE https://ghes-domain.cloud/api/v3/repos/my-org/my-repo/vulnerability-alerts: 404 Not Found []
│
│ with module.my_module.github_repository.repo,
│ on .terraform/modules/my_module/main.tf line 58, in resource "github_repository" "repo":
│ 58: resource "github_repository" "repo" {
│
╵
Error: Process completed with exit code 1.
This is exactly the same error as described here #716
It seems version 6.7.x introduced a regression on this.
Actual Behavior
We cannot create a repository
Terraform Version
Terraform v1.12.2
on darwin_arm64
- provider registry.terraform.io/integrations/github v6.7.5
Affected Resource(s)
- github_repository
Terraform Configuration Files
resource "github_repository" "repo" {
name = module.naming.repo_name
description = var.description
visibility = var.private_repo ? "private" : "internal"
# cf Features section in UI
has_issues = false
has_wiki = false
has_projects = false
# cf Pull Requests section in UI
allow_merge_commit = true
merge_commit_title = "PR_TITLE"
merge_commit_message = "BLANK"
allow_rebase_merge = false
allow_squash_merge = false
allow_update_branch = true
delete_branch_on_merge = true
archive_on_destroy = true
template {
owner = local.template.owner
repository = local.template.repo
}
}Steps to Reproduce
terraform apply
Debug Output
Panic Output
╷
│ Error: DELETE https://ghes-domain.cloud/api/v3/repos/my-org/my-repo/vulnerability-alerts: 404 Not Found []
│
│ with module.my_module.github_repository.repo,
│ on .terraform/modules/my_module/main.tf line 58, in resource "github_repository" "repo":
│ 58: resource "github_repository" "repo" {
│
╵
Error: Process completed with exit code 1.Code of Conduct
- I agree to follow this project's Code of Conduct
grimm26
Metadata
Metadata
Assignees
Labels
Status: TriageThis is being looked at and prioritizedThis is being looked at and prioritizedType: BugSomething isn't working as documentedSomething isn't working as documented
Type
Projects
Status
Backlog