❯ terraform -v
Terraform v0.14.5
+ provider registry.terraform.io/hashicorp/google v3.53.0
+ provider registry.terraform.io/hashicorp/kubernetes v2.0.0
+ provider registry.terraform.io/hashicorp/time v0.6.0
What should have happened?
The state was upgraded
What actually happened?
The following output -
Error: missing expected {
Looks like terraform cloud just auto-upgraded me from 1.13 to 2.0, followed the guide and am now blocked ;(. Reverting to 1.13 seems to still work.
Thanks for opening this @srlightbody.
Looks like we missed a corner case in the StateUpgrader for this. We will need to account for requests/limits being an empty array in the state file and migrate to an empty map here.
Hotfix PR incoming.
Should be fixed in v2.0.1, please try again and let us know @ZachGoldberg @srlightbody
Looks good! Just tested it on several repos that were having issues and they worked as expected.
Thank you for fixing so rapidly!
I'm going to lock this issue because it has been closed for _30 days_ ⏳. This helps our maintainers find and focus on the active issues.
If you feel this issue should be reopened, we encourage creating a new issue linking back to this one for added context. If you feel I made an error 🤖 🙉 , please reach out to my human friends 👉 [email protected]. Thanks!
Most helpful comment
Thanks for opening this @srlightbody.
Looks like we missed a corner case in the StateUpgrader for this. We will need to account for requests/limits being an empty array in the state file and migrate to an empty map here.
Hotfix PR incoming.