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
For some reason we forced the plan.variables to have the value of type string, this was causing errors like
Error: unable to estimate terraform plan file: unable to estimate cost insfrastructure: [ Unexpected message from the external service Cost Estimation: json: cannot unmarshal object into Go struct field Variable.variables.value of type string]
Error: unable to estimate terraform plan file: unable to estimate cost insfrastructure: [ Unexpected message from the external service Cost Estimation: json: cannot unmarshal bool into Go struct field Variable.variables.value of type string]
We'll fix this by changing the type to interface{} and casting it to string when we need to.
The text was updated successfully, but these errors were encountered:
For some reason we forced the
plan.variables
to have thevalue
of type string, this was causing errors likeWe'll fix this by changing the type to
interface{}
and casting it tostring
when we need to.The text was updated successfully, but these errors were encountered: