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

numerous-artist-1705

06/10/2020, 5:34 PM
Hi folks, has anyone tried deploying Azure API management policies using Pulumi? There is no chance of pushing the code at the moment if you have some C# quotes in an attribute. I believe it's a Terraform bug, but I can't find a workaround. I tried pushing the whole policy to a file in blob storage and use XmlLink instead of XmlContent, but yet it doesn't work.
l

limited-carpenter-34991

06/10/2020, 6:39 PM
You can some example under the pulumi examples inside the github repo.
n

numerous-artist-1705

06/10/2020, 6:47 PM
There is only one TypeScript example with no C# in the policy.
l

limited-carpenter-34991

06/10/2020, 7:59 PM
Must of the properties are the same in c#, because of the azurerm terraform background.
n

numerous-artist-1705

06/10/2020, 8:16 PM
The C# code is part of the policy, not Pulumi in this case.
5 Views