Hello, could someone give me an example how to do ...
# python
a
Hello, could someone give me an example how to do an pulumi import using a specific version of the provider? I am looking to import databricks using v20230201.
pulumi import azure-native:databricks.v20230201:Workspace myWorkspace <resourceid>
obviously does not work.
s
The API versions are just namespaces in Azure Native, so I believe you want
databricks:v20230201
instead of
databricks.v20230201
.
a
Hmm, I still get
azure-native🧱v20230201:Workspace (myWorkspace):
error: Preview failed: autorest/azure: Service returned an error. Status=400 Code="MissingApiVersionParameter" Message="The api-version query parameter (?api-version=) is required for all requests."
s
It's possible that you're seeing a bug in the provider. I would file an issue here: https://github.com/pulumi/pulumi-azure-native/issues
a
Thanks @stocky-restaurant-98004 Meanwhile, I do not have the need for an import anymore 🙂
s
I hope that's a good thing! Sorry for the trouble you were having!