-
Notifications
You must be signed in to change notification settings - Fork 17
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Deployment error: json string value is null #289
Comments
Thanks for the report here, I'm working on replicating. What I've found so far is that you apparently need to specify all of the following:
They're optional, but it looks like we need to improve the way we unmarshal them in case they're not configured. Will look into it a bit more and put up a PR. |
Checks if an attribute is null before attempting to unmarshal it. Closes #289
* Check if null before unmarshalling Checks if an attribute is null before attempting to unmarshal it. Closes #289 * Use a helper for safely unamrshalling Uses a helper method for this so we have it handy next time we need to unmarshal an attribute that could be null.
Thanks again @vnagaraj, we've just released https://github.com/PrefectHQ/terraform-provider-prefect/releases/tag/v2.5.1 which should address this. Please reach out if you run into any other issues. |
Community Note
Terraform Version
Affected Resource(s)
Terraform Configuration Files
Debug Output
Panic Output
Expected Behavior
Deployment should succeed
Actual Behavior
Failure as reported in Panic Output
Steps to Reproduce
terraform plan
terraform apply
References
#238
The text was updated successfully, but these errors were encountered: