Modify my code to support the new v6 syntax, and be able to run a plan and apply like normal.
Actual Behavior
I was previously using v5 of the provider. I updated my code to use v6. I also updated my code to follow the new syntax for the github_branch_protection resource. However, when I run a Plan I get the error below.
It is very similar to this issue which discusses going from v4 to v5. Looks like you had to add some sort of migration to the backend.
Can you please apply the same fix here?
Warning: Failed to decode resource from state
Error decoding
github_branch_protection
from prior state: unsupported attribute "blocks_creations"
Terraform Version
Terraform 1.5.7
Affected Resource(s)
github_branch_protection
Terraform Configuration Files
No response
Steps to Reproduce
No response
Debug Output
No response
Panic Output
No response
Code of Conduct
[X] I agree to follow this project's Code of Conduct
Expected Behavior
Modify my code to support the new v6 syntax, and be able to run a plan and apply like normal.
Actual Behavior
I was previously using v5 of the provider. I updated my code to use v6. I also updated my code to follow the new syntax for the
github_branch_protection
resource. However, when I run a Plan I get the error below.It is very similar to this issue which discusses going from v4 to v5. Looks like you had to add some sort of migration to the backend.
Can you please apply the same fix here?
Terraform Version
Terraform 1.5.7
Affected Resource(s)
Terraform Configuration Files
No response
Steps to Reproduce
No response
Debug Output
No response
Panic Output
No response
Code of Conduct