https://pulumi.com logo
Title
b

brave-winter-60074

04/20/2021, 10:14 AM
Do I raise an issue in Azure Native github repo if I am able to enable authentication in a function app with a arm resource template and the almost identical Pulumi Azure Native code dot not give the expected result? Here is my comparison of what works with arm but not in Pulumi. I may be missing something but right now it seems like a bug in pulumi regarding authsettingsV2
t

tall-librarian-49374

04/20/2021, 10:36 AM
Sure, you may do that. Your code looks good to me. What does “not give the expected result” mean? Do you get an error or see no effect?
b

brave-winter-60074

04/20/2021, 10:40 AM
see no effect, the selected provider is not visible but it somehow now thinks that authentication is enabled. When using pulumi we get and when using arm template we get.
using the code and armtemplate from the image
t

tall-librarian-49374

04/20/2021, 11:02 AM
Could you deploy the Pulumi resource with
pulumi up -v=9 --debug --skip-preview --yes --logflow --logtostderr
and find the HTTP body of the request and response in the resulting log? Search for PUT operations.
b

brave-winter-60074

04/20/2021, 12:08 PM
yes i will do that asap, thanx!
@tall-librarian-49374 Is it theese requests?
Is correcly analyzed that it first create a put with the correct settings from 81811 provider.go:1697] HTTP Request Begin PUT https://managem and then overrides it with empty /default settings without our provider in 81811 provider.go:1720] HTTP Response Begin PUT
t

tall-librarian-49374

04/20/2021, 1:34 PM
Thank you, that’s helpful. I’m looking at these logs.
I see the problem… The shape of our request doesn’t match the shape of the ARM template. The Open API spec looks bizarre there. Could you please file an issue?
Thank you for your investigation and sorry for all the trouble!
b

brave-winter-60074

04/20/2021, 1:52 PM
Thank you @tall-librarian-49374 where do i file an issue? is it in github or?
t

tall-librarian-49374

04/20/2021, 1:52 PM
b

brave-winter-60074

04/20/2021, 2:05 PM
t

tall-librarian-49374

04/20/2021, 2:09 PM
May I add the HTTP request body from your log to the issue?
b

brave-winter-60074

04/20/2021, 2:40 PM
Yes thats fine!
anytning that can help you guys solve it faster 🤗