Hey. I'm trying to use the terraform provider and ...
# ask-community
c
Hey. I'm trying to use the terraform provider and I'm getting a few errors:
Copy code
╷
│ Error: Provider produced inconsistent result after apply
│ 
│ When applying changes to prefect_deployment.hello_flow, provider
│ "provider[\"registry.terraform.io/prefecthq/prefect\"]" produced an unexpected new value:
│ .parameter_openapi_schema: was cty.StringVal("{}"), but now cty.StringVal("null").
│ 
│ This is a bug in the provider, which should be reported in the provider's own issue tracker.
╵
╷
│ Error: Error during create Work Queue
│ 
│   with prefect_work_queue.doc_processing_subflows,
│   on prefect_work_pool.tf line 557, in resource "prefect_work_queue" "doc_processing_subflows":
│  557: resource "prefect_work_queue" "doc_processing_subflows" {
│ 
│ Could not create Work Queue, unexpected error: failed to create work queue: status code=405 Method
│ Not Allowed, error={"detail":"Method Not Allowed"}
This is hitting our own hosted prefect server which is on
3.2.9
The provider version is
2.18.1
I thought that the 405 may be from the previous issue but it looks like the route does have a trailing slash.
m
thanks for reaching out @cbelsole, do you mind opening an issue? it'll help us capture the config you're using so we can try to replicate
c
Will do.
🤝 1
m
thank you! will take a look
what does your
provider
section look like? are you using this with cloud or OSS?
c
Yeah, we're using OSS
Copy code
provider "prefect" {
  endpoint = local.workspace["prefect"].api_url
}
m
thank you!