You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
A github_repository_ruleset resource has been created with a bypass_actors attribute. Later on, the bypass_actors attribute is removed. The Terraform plan confirm the deletion:
The Terraform apply confirm modification successful
module.CITest.github_repository_ruleset.protection-on-default: Modifications complete after 2s [id=791751]
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 the terraform apply did not change the github_repository_ruleset to remove the existing value in bypass_actors.
The workaround is to use Github UI to delete the bypasser manually.
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.
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.
Seems like a PR got put up which got an approval with a few small comments. Then the PR author hasn't responded in a month. I'll give a bump on that PR.
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: