Closed vnagaraj closed 1 month ago
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:
job_variables
parameters
parameter_openapi_schema
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.
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
https://github.com/PrefectHQ/terraform-provider-prefect/issues/238