Hi, I am working on a project to use :pulumi-logo:...
# azure
p
Hi, I am working on a project to use pulumi logo within our organisation to manage Azure resources. Really enjoying it so far 🙂. I am currently working on Azure SQL DBs. They are being provisioned OK but have Secure enclaves turned off by default. I have checked the reference docs but not seen an option for this in Azure Native. In Azure Classic
azure.mssql.Database
I can see the enclave_type option. So does anybody know how to set this option in Azure native?
a
`pulumi_azure_native`'s sql.Database is pinned on Azure API version
2021-11-01
and the enclave option was announced generally available in November '23. Strangely, It's still the latest non-preview version of the API. You can find the
preferred_enclave_type
paramter on sql.Database if you explicitly import the newer
v20230801preview
version. It accepts
sql.AlwaysEncryptedEnclaveType
as an input type with
.DEFAULT
or
.VBS
as value options. For example, in Python this is how you could import the provider for a particular Azure API version:
from pulumi_azure_native.sql import v20230801preview as sql
p
This is a great answer! Thanks very much
👏 1
I was using Python and the above works for me. Thanks again @adventurous-butcher-54166
a
My pleasure