Azure / Azure/azure-functions-core-tools

New command: func azure functionapp create

Open
#2,021 1 comment 0 reactions 0 assignees View on GitHub
enhancement needs-discussion P2
Dominant language
C#
Stars
1.5k
Forks
498
Avg merge
5d 4h
Merged PRs (30d)
15

Description

Needs discussion: A simplified command for creating function apps. Creates storage and app insights as well. Calls az behind the scenes.

```
func azure functionapp create $functionAppName --location $regionName
```

Automatically creates storage and app insights.

Optional params:

* `--os [windows|linux]` - defaults to linux unless not supported for runtime (inspect local functions folder for runtime/language)
* ` --sku [consumption|premium]` - defaults to consumption
* `--storage-account-name $storageAccountName` - if missing, automatically create
* `--create-app-insights [true|false]` - defaults to true

Also support a wizard to prompt for missing parameters.

Contributor guide

Open the contributing guide

Research direction

Start from the proposed `func azure functionapp create` command and inspect how the local functions folder can identify the runtime and language. Define the command's Azure resource creation flow, optional parameters, defaults, and wizard behavior, then verify that it creates the function app, storage, and Application Insights as specified.

Written by the indexing model from the issue text.

Assessment

Tech stack
azure, csharp
Domain
cli, cloud
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
30/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.