This message was deleted.
# general
s
This message was deleted.
a
The only thing I can think of is that the underlying azure terraform provider does not yet support OpenAPI 3.0, so all of the internal API calls will assume that you are providing an OpenAPI 2.0 (a.k.a. Swagger) spec. Provided that this really is the cause of your problem, the reason it would still work when uploading to Azure directly is that the Azure APIs and SDK are capable of ingesting OpenAPI 3.0 spec files as of early 2019. However, the API spec that Terraform uses to autogenerate code stubs hasn't been published by Microsoft yet (unless very recently). Since Pulumi's providers are derived from these, both platforms are unable to create APIs from OpenAPI 3.0 specs. This issue is being tracked here: https://github.com/terraform-providers/terraform-provider-azurerm/issues/3203 Aside from this, I can't think of anything in the spec that would throw this error while still working on the console side.
👍 1
w
Thanks @acoustic-florist-12628 for your reply. Hope Terraform will fix the issue soon.