https://pulumi.com logo
#azure
Title
# azure
m

many-dress-54535

06/08/2022, 3:50 PM
Hi All, I am having an issue with creating a pulumi_azure_native.sql.server (python) and having this error
status code 400, {"error":{"code":"InvalidApiVersionParameter","message":"The api-version '2020-11-01-preview' is invalid. The supported versions are "..<other api versions>.."
do I need to specify the version explicitly for that to work?
c

clean-truck-93285

06/09/2022, 11:25 AM
Look at the ARM reference documentation and verify the field under the API version. https://docs.microsoft.com/en-us/azure/templates/microsoft.sql/servers?tabs=bicep If it not on latest, then you will have to specify the version in Pulumi. https://www.pulumi.com/registry/packages/azure-native/version-guide/
👍 1
m

many-dress-54535

06/09/2022, 12:05 PM
Thank you for this reply, this solved my issue.
40 Views