Open
Description
Investigative information
Please provide the following:
- Timestamp: 0
- Function App name:
- Function name(s) (as appropriate):
- Invocation ID: e5d5ee04-d5e8-4c03-8d8e-4c13067b0574
- Region: Germany West Central
Repro steps
Provide the steps required to reproduce the problem:
- I created a v4 HTTP Azure function for manually triggering the code that I normally run in a weekly cron job Azure function
- I want to disable this Azure function by default, as it was possible in v3
- I deploy the Azure function via Terraform
Expected behavior
On deployment via Terraform, the HTTP functions should be enabled by default, but disabled when set via code
Actual behavior
Upon deployment, the Azure Functions are all enabled by default
Known workarounds
Related information
Provide any related information
- Programming language used - Javascript / Typescript
- Links to source
- Bindings used
Source
import { app } from '@azure/functions';
import { sevenpaceImporter } from '../sevenpaceImporter';
app.http('httpImportFrom7PaceApi', {
methods: ['GET'],
authLevel: 'anonymous',
handler: (_req, context) => sevenpaceImporter(context),
});