Skip to content

Commit c2b3724

Browse files
authored
[Functions] Fix bicep code registrations
1 parent e9e6e9d commit c2b3724

File tree

1 file changed

+7
-7
lines changed

1 file changed

+7
-7
lines changed

articles/azure-functions/functions-infrastructure-as-code.md

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ title: Automate function app resource deployment to Azure
33
description: Learn how to build, validate, and use a Bicep file or an Azure Resource Manager template to deploy your function app and related Azure resources.
44
ms.assetid: d20743e3-aab6-442c-a836-9bcea09bfd32
55
ms.topic: conceptual
6-
ms.date: 06/18/2025
6+
ms.date: 08/05/2025
77
ms.custom: fasttrack-edit, devx-track-bicep, devx-track-arm-template, linux-related-content, ignite-2024
88
zone_pivot_groups: functions-hosting-plan
99
---
@@ -177,13 +177,13 @@ This example shows how to create a container in the storage account:
177177

178178
### [Bicep](#tab/bicep)
179179

180-
:::code language="bicep" source="~/function-flex-consumption/IaC/bicep/main.bicep" range="133-153" :::
180+
:::code language="bicep" source="~/function-flex-consumption/IaC/bicep/main.bicep" range="124-146" highlight="137'139" :::
181181

182182
This example shows how to use the [AVM for storage accounts](https://github.com/Azure/bicep-registry-modules/tree/main/avm/res/storage/storage-account) to create the blob storage container along with the storage account. For the snippet in context, see [this deployment example](https://github.com/Azure-Samples/azure-functions-flex-consumption-samples/blob/main/IaC/bicep/main.bicep#L133).
183183

184184
### [ARM template](#tab/json)
185185

186-
:::code language="json" source="~/function-flex-consumption/IaC/armtemplate/azuredeploy.json" range="121-139" :::
186+
:::code language="json" source="~/function-flex-consumption/IaC/armtemplate/azuredeploy.json" range="129-139" :::
187187

188188
For the snippet in context, see [this deployment example](https://github.com/Azure-Samples/azure-functions-flex-consumption-samples/blob/main/IaC/armtemplate/azuredeploy.json#L121).
189189

@@ -320,7 +320,7 @@ This example section creates a Flex Consumption plan:
320320

321321
### [Bicep](#tab/bicep)
322322

323-
:::code language="bicep" source="~/function-flex-consumption/IaC/bicep/main.bicep" range="156-170" :::
323+
:::code language="bicep" source="~/function-flex-consumption/IaC/bicep/main.bicep" range="149-163" :::
324324

325325
This example uses the [AVM for App Service plans](https://github.com/Azure/bicep-registry-modules/tree/main/avm/res/web/serverfarm). For the snippet in context, see [this deployment example](https://github.com/Azure-Samples/azure-functions-flex-consumption-samples/blob/main/IaC/bicep/main.bicep#L156).
326326

@@ -795,7 +795,7 @@ Flex Consumption replaces many of the standard application settings and site con
795795

796796
### [Bicep](#tab/bicep)
797797

798-
:::code language="bicep" source="~/function-flex-consumption/IaC/bicep/main.bicep" range="173-215" :::
798+
:::code language="bicep" source="~/function-flex-consumption/IaC/bicep/main.bicep" range="166-215" :::
799799

800800
This example uses the [AVM for function apps](https://github.com/Azure/bicep-registry-modules/tree/main/avm/res/web/serverfarm). For the snippet in context, see [this deployment example](https://github.com/Azure-Samples/azure-functions-flex-consumption-samples/blob/main/IaC/bicep/main.bicep#L173).
801801

@@ -1224,7 +1224,7 @@ This example uses a system assigned managed identity to access the specified blo
12241224

12251225
### [Bicep](#tab/bicep)
12261226

1227-
:::code language="bicep" source="~/function-flex-consumption/IaC/bicep/main.bicep" range="185-194" :::
1227+
:::code language="bicep" source="~/function-flex-consumption/IaC/bicep/main.bicep" range="178-196" highlight="179-186":::
12281228

12291229
This example uses the [AVM for function apps](https://github.com/Azure/bicep-registry-modules/tree/main/avm/res/web/site). For the snippet in context, see [this deployment example](https://github.com/Azure-Samples/azure-functions-flex-consumption-samples/blob/main/IaC/bicep/main.bicep#L185).
12301230

@@ -1238,7 +1238,7 @@ When using managed identities, you must also enable the function app to access t
12381238

12391239
### [Bicep](#tab/bicep)
12401240

1241-
:::code language="bicep" source="~/function-flex-consumption/IaC/bicep/rbac.bicep" range="45-55" :::
1241+
:::code language="bicep" source="~/function-flex-consumption/IaC/bicep/rbac.bicep" range="42-52" :::
12421242

12431243
This example uses the [AVM for resource-scoped role assignment](https://github.com/Azure/bicep-registry-modules/tree/main/avm/ptn/authorization/resource-role-assignment). For the snippet in context, see [this deployment example](https://github.com/Azure-Samples/azure-functions-flex-consumption-samples/blob/main/IaC/bicep/rbac.bicep#L45).
12441244

0 commit comments

Comments
 (0)