Expected Behavior
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"
terraform plan -> show "no change"
Debug Output
Panic Output
Code of Conduct
Expected Behavior
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)
Terraform Configuration Files
Steps to Reproduce
terraform apply-> create a ruleset resourceterraform plan-> shows terraform will create a new rulesetterraform apply-> failed to create because of ruleset name duplicationterraform plan-> show "no change"Debug Output
Panic Output
Code of Conduct