[BUG]: github_repository_ruleset can create bypass_actors but cannot delete #2269
Labels
Status: Triage
This is being looked at and prioritized
Type: Bug
Something isn't working as documented
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
The text was updated successfully, but these errors were encountered: