Backport/2.8/55693 (#55698)

* adding final functionapp settings (#55693)

(cherry picked from commit 8de2acb819)

* +changelog
This commit is contained in:
Zim Kalinowski 2019-04-25 04:41:41 +08:00 committed by Toshio Kuratomi
parent d5cd383855
commit 14531144cf
2 changed files with 4 additions and 0 deletions

View file

@ -0,0 +1,2 @@
bugfixes:
- azure_rm_functionapp - adding two properties which need to be set by default, otherwise function app won't behave correctly in Azure Portal.

View file

@ -365,6 +365,8 @@ class AzureRMFunctionApp(AzureRMModuleBase):
function_app_settings.append(NameValuePair(name='WEBSITE_CONTENTSHARE', value=self.name))
else:
function_app_settings.append(NameValuePair(name='FUNCTIONS_EXTENSION_VERSION', value='~2'))
function_app_settings.append(NameValuePair(name='WEBSITES_ENABLE_APP_SERVICE_STORAGE', value=False))
function_app_settings.append(NameValuePair(name='AzureWebJobsStorage', value=self.storage_connection_string))
return function_app_settings