Hey folks :wave: I can see there is an auto-gener...
# azure
p
Hey folks 👋 I can see there is an auto-generated PR to support the new
FlexConsumption
plans in Azure Web App (https://github.com/pulumi/pulumi-azure-native/pull/3332). Is there a straightforward way for me to override the ARM request for my resource so I can patch around this for now or anything I can do to help get this through the process? Very keen to give the Flexible Consumption plan a go as it has support for vnets! For reference the error I get when attempting to use this plan via Pulumi right now is: "Site.FunctionAppConfig is invalid. The FunctionAppConfig section was not specified in the request, which is required for Flex Consumption sites."
t
Does it help if we merge this PR and release the provider today?
p
Hey Mikhail, I think looking at the PR it should. But I don't want to rush you!
t
I looked at the PR but I can't really see the changes related to FlexConsumption. Can you point me to them?
p
No problem 🙂 There is a later PR now shall I reference that?
I think I may have gotten a bit lost here and chased my tail, I found
FlexConsumption
via search yesterday and thought I had traced it back to that PR but I could be wrong... Will try and dig my way back through
I think the changes are already actually on
master
sorry! Pretty sure they haven't been released to npm yet though?
Nope they are there... I must be doing something wrong given I can't use them. Sorry for wasting your time 😭
t
No worries. I hope you figure it out!
p
Screenshot 2024-06-07 at 09.56.48.png,Screenshot 2024-06-07 at 09.57.07.png
Thanks @tall-librarian-49374, huge fan of Pulumi 🙏
Can I ask one stupid question? Apologies if there are docs on this. What do these version numbers mean and how do I switch between them?
That's the source of my problem, the functionAppConfig exists in that version but not in the default loaded version. I'm able to load directly from that version so will give it a go!
t
You can import any explicit version if you need to, e.g.
Copy code
import * as web from "@pulumi/azure-native/web/v20241201";
p
Honestly, you folks have done such a good job with all this. The DX is incredible. Makes me want to move into DevOps permanently.
This seems to be working now, some other things to tweak but pretty confident I will get there. Thanks so much!