sparse-intern-71089
06/13/2022, 12:06 PMstraight-sunset-92336
06/13/2022, 12:08 PMstraight-sunset-92336
06/13/2022, 1:54 PMstraight-sunset-92336
06/14/2022, 7:44 AMconst defaultfunctionAppArgs = {
name: name,
resourceGroupName: args.resourcegroupname,
serverFarmId: args.WebAppPlanID,
kind: "functionapp,linux",
siteConfig: {
linuxFxVersion: 'PYTHON|3.9',
alwaysOn: true,
use32BitWorkerProcess: false,
isDisabled: false,
appSettings: [
{
name: 'FUNCTIONS_WORKER_RUNTIME',
value: 'python'
},
{
name: 'FUNCTIONS_EXTENSION_VERSION',
value: '~4'
},
{
name: 'APPINSIGHTS_INSTRUMENTATIONKEY',
value: appinsightscomponent.instrumentationKey
},
{
name: 'AzureWebJobsStorage',
value: storageConnectionString
},
{
name: "WEBSITE_RUN_FROM_PACKAGE",
value: codeBlobUrl
},
{
name: 'WORKSPACE_ID',
value: args.wrkspaceid
},
]
},
};
const functionAppArgs = FunctionAppModifier ? FunctionAppModifier(defaultfunctionAppArgs) : defaultfunctionAppArgs;
const functionapp = new web.WebApp("Policycompliance-webapp", functionAppArgs, { deleteBeforeReplace: true });
No matter how you like to participate in developer communities, Pulumi wants to meet you there. If you want to meet other Pulumi users to share use-cases and best practices, contribute code or documentation, see us at an event, or just tell a story about something cool you did with Pulumi, you are part of our community.
Powered by