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
adventurous-butcher-54166
08/12/2024, 3:04 PM
`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
purple-gpu-57192
08/12/2024, 3:06 PM
This is a great answer! Thanks very much
👏 1
purple-gpu-57192
08/15/2024, 10:56 AM
I was using Python and the above works for me. Thanks again @adventurous-butcher-54166
No matter how you like to participate in developer communities, Pulumi wants to meet you there. If you want to meet other Pulumi users to share use-cases and best practices, contribute code or documentation, see us at an event, or just tell a story about something cool you did with Pulumi, you are part of our community.