[BUG]: Plan incorrectly proposes change for repository ruleset code scanning results #2556
Open
1 task done
Labels
Status: Triage
This is being looked at and prioritized
Type: Bug
Something isn't working as documented
Expected Behavior
required_code_scanning
blocks added togithub_repository_ruleset
resources should not produce a plan with changes after they have been applied.Actual Behavior
required_code_scanning
blocks added togithub_repository_ruleset
are producing changes on plans after they have been applied.Terraform Version
tofu version
OpenTofu v1.9.0
on darwin_arm64
Affected Resource(s)
github_repository_ruleset
Terraform Configuration Files
Steps to Reproduce
tofu plan
andtofu apply
to create the repository and the rulesetExample output:
Run
tofu plan
again to see that changes are proposed for the code scanning resultsRun
tofu state show github_repository_ruleset.example
to see that therequired_code_scanning
block is not present in the state file:Debug Output
Panic Output
Code of Conduct
The text was updated successfully, but these errors were encountered: