Skip to content

Feature suggestion: auto-generate ARM template #1429

@markheath

Description

@markheath

I think it would be really helpful if func init could optionally create an ARM template, just like it can create a Dockerfile with the --docker switch.

A good starting point would be to emit an ARM template (similar to this one) that creates the following resources:

  • Consumption App Service Plan
  • Function App
    • correct worker runtime set up (FUNCTIONS_WORKER_RUNTIME)
    • Managed Identity enabled
  • Storage Account
  • App Insights

It should also create:

  • A parameters file (supporting overriding the defaults in the ARM template)
  • Sample deployment scripts with Azure PowerShell & Azure CLI

Would be a great way to get up and running even faster with a new Function App & the core tools.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions