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
We want to enable the feature "Automatically request Copilot code review" for our ruleset.
Since this feature is not supported by provider yet , we selected this option manually after we created a ruleset by terraform.
The provider should recognize that this ruleset is not changed in subsequent plan/apply run.
Actual Behavior
If I select the option "Automatically request Copilot code review", a new github_repository_ruleset resource will be created in next terraform plan.
But terraform failed to create the ruleset because of ruleset name duplication in next terraform apply.
Then I remove the selection of "Automatically request Copilot code review", terraform can recognize that this ruleset not changed and shows no change.
Terraform Version
Terraform v1.13.3
on darwin_arm64
Provider plugin: v6.7.0
Affected Resource(s)
github_repository_ruleset
Terraform Configuration Files
Steps to Reproduce
terraform apply -> create a ruleset resource
select the option "Automatically request Copilot code review"
terraform plan -> shows terraform will create a new ruleset
terraform apply -> failed to create because of ruleset name duplication
Remove the selection "Automatically request Copilot code review"
Activity