Open Trikenstein opened 1 month ago
I'm aware of this issue but the limitation actually lies in the go-github
client, last I checked was a few months ago and the issue still existed. I'll check in the next few days and if it's been fixed I'll make the change to fix this here.
Expected Behavior
Using Terraform provider integrations/github version 6.2.1
A
github_repository_ruleset
resource has been created with abypass_actors
attribute. Later on, thebypass_actors
attribute is removed. The Terraform plan confirm the deletion:The Terraform apply confirm modification successful
Using Github UI on the "CITest" repo, Settings, Rules/Ruleset. Select the ruleset. The bypasser still exists.
Actual Behavior
Terraform apply was not able to delete the
bypass_actors
attribute. And yet the output showed the operation as successful. Re-running a Terraform plan shows the same "updated in-place" shown above. Which means theterraform apply
did not change thegithub_repository_ruleset
to remove the existing value inbypass_actors
.The workaround is to use Github UI to delete the bypasser manually.
Terraform Version
Affected Resource(s)
github_repository_ruleset
, in particular thebypass_actors
attributeTerraform Configuration Files
Steps to Reproduce
bypass_actors
was created correctlybypass_actors
block, then applybypass_actors
was not deleted)Debug Output
No response
Panic Output
No response
Code of Conduct