[BUG]: provider crash when creating github_repository_deployment_branch_policy #2403
Open
1 task done
Labels
Status: Up for grabs
Issues that are ready to be worked on by anyone
Type: Bug
Something isn't working as documented
Expected Behavior
This should create a github_repository_deployment_branch_policy resource
Actual Behavior
The provider crashed.
Error: The terraform-provider-github_v6.3.0 plugin crashed!
Terraform Version
Terraform v1.9.5
on linux_amd64
Affected Resource(s)
Terraform Configuration Files
Steps to Reproduce
This only happens if the github_repository_deployment_branch_policy exists but isn't in the state, and it tries to create a new one.
I think it's related to #1818 , but this is a different resource and that one has a comment saying it was resolved in v5.3.0.
Plan runs fine too, only happens on an apply
$ terraform apply
$ terraform state rm github_repository_deployment_branch_policy.deploy_environments
$ terraform apply
Debug Output
Panic Output
Code of Conduct
The text was updated successfully, but these errors were encountered: