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

brave-winter-60074

01/25/2021, 12:50 PM
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
b

brave-winter-60074

01/25/2021, 1:01 PM
ok thank you, what input type is such a Action?
t

tall-librarian-49374

01/25/2021, 1:04 PM
b

brave-winter-60074

01/25/2021, 1:07 PM
ok thank you, will try it out
3 Views