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
If you stack is on v2, upon upgrading to v3 you would run into following errors:
error: Unable to Read Previously Saved State for UpgradeResourceState: There was an error reading the saved resource state using the prior resource schema defined for version 0 upgrade.
Please report this to the provider developer:
AttributeName("provider_settings"): invalid JSON, expected "[", got "{"
it turns out that the resource of type buildkite:Pipeline/pipeline:Pipeline has different type for inputs.providerSettings in tf-buildkite in post-v1:
The previous version (prior to v1) used an array of provider settings.
btw. i know there were also some breaking changes around teams, if i remember correctly. so i'd expect issues occuring in minor cases when upgrading to v3.
If you stack is on v2, upon upgrading to v3 you would run into following errors:
it turns out that the resource of type
buildkite:Pipeline/pipeline:Pipeline
has different type forinputs.providerSettings
in tf-buildkite in post-v1:The previous version (prior to v1) used an array of provider settings.
Whereas the newer model is a pointer to an object/struct.
The workaround is modifying the statefile:
inputs.providerSettings.__defaults
statefile before:
statefile after:
Ideally we want to provide a seamless way for users to upgrade with a mapper (v2 to v3).
Any thoughts on how to approach this issue @muhlba91
The text was updated successfully, but these errors were encountered: