I don't think its there yet. After creating ApiManagementService, I use GetApiManagementServiceDomainOwnershipIdentifier to get that identifier and create the CNAME and TXT verification records. Then I use the azure sdk to add the custom domain to ApiMangement with the manged certificate preview feature.
r
rapid-motherboard-85863
03/22/2023, 1:09 PM
Thanks, I was a little bit worried about then changing a property which caused Pulumi to then remove the custom domain as its different to what it thinks is deployed. I guess I could use Ignore functionality
b
bored-activity-40468
03/22/2023, 1:32 PM
Good point, I haven't run into that, using azure-native it might not see the custom domain as a diff because it doesn't know about it yet, in the api.
bored-activity-40468
03/22/2023, 1:34 PM
At one point I was using both providers which works. Doing it the way I am now because I wanted to take advantage of the managed cert feature.
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.