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. |
Beta Was this translation helpful? Give feedback.
1 reply
-
Hi @jikuja, @mikkark, |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I would like to start a discussion if
Microsoft.Web/sites
should 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.bicep
fetch existing configuration withconfig-appsettings/existing-config.bicep
moduleconfig-appsettings/deploy.bicep
config-appsettings/deploy.bicep
:config-appsettings/deploy.bicep
Open questions
WEBSITE_RUN_FROM_PACKAGE
Beta Was this translation helpful? Give feedback.
All reactions