I tried importing a CDN Endpoint since I am not able to get the documentation example to compile from Azure Next-gen https://www.pulumi.com/docs/reference/pkg/azure-nextgen/cdn/endpoint/. But it seems it uses the same construct of nested objects which C# doesn’t like. Any ideas how to get this to work??
t
tall-librarian-49374
01/25/2021, 12:56 PM
That’s a bug in our converter which doesn’t handle union types. You need to replace those “dictionaries” with constructor calls of input types
Examples and import use the same code so you hit the same bug