RFC: Microsoft.Web/sites should retain existing app configuration over deployment #2572
Closed
Janne Kujanpää (jikuja)
started this conversation in
General
Replies: 2 comments 1 reply
|
This is very much needed. I have been wondering about this for ages. I have not come up with any workaround so whenever I deploy my infrastructure I deploy my Function App code straight after.... not convenient at all. |
1 reply
|
Hi Janne Kujanpää (@jikuja), Mikko Kärkkäinen (@mikkark), |
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
I would like to start a discussion if
Microsoft.Web/sitesshould retain existing app config and I'll provide a quick proof-of-concept for implementation ideas.Why to retain app config
Why not to retain app config
The proper solution
Resource provider should have two set of configuration:
Solution with templating
Proof-of-concept
This is really naive solution to persist app config over deployment using Bicep only:
Proof-of-concept explanation
deploy.bicepfetch existing configuration withconfig-appsettings/existing-config.bicepmoduleconfig-appsettings/deploy.bicepconfig-appsettings/deploy.bicep:config-appsettings/deploy.bicepOpen questions
WEBSITE_RUN_FROM_PACKAGEAll reactions