You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: articles/azure-functions/functions-create-first-function-terraform.md
+9-6Lines changed: 9 additions & 6 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -2,7 +2,7 @@
2
2
title: 'Quickstart: Create and deploy Azure Functions resources from Terraform'
3
3
description: In this quickstart, you create a resource group, storage account, blob storage account, and service plan in Azure for an Azure Functions Flex Consumption plan.
4
4
ms.topic: quickstart
5
-
ms.date: 03/26/2025
5
+
ms.date: 04/01/2025
6
6
ms.custom: devx-track-terraform
7
7
ms.service: azure-functions
8
8
author: ggailey777
@@ -12,7 +12,7 @@ content_well_notification:
12
12
- AI-contribution
13
13
---
14
14
15
-
# 'Quickstart: Create and deploy Azure Functions resources from Terraform'
15
+
# Quickstart: Create and deploy Azure Functions resources from Terraform
16
16
17
17
In this quickstart, you use Terraform to create a function app in a Flex Consumption plan in Azure, along with its required Azure resources. Azure Functions Flex Consumption is a serverless compute service that helps you to run code on demand without explicitly provisioning or managing infrastructure. It's used for processing data, integrating systems, internet-of-things computing, and building simple APIs and microservices. The resources created in this configuration include a unique resource group, a storage account, a blob storage container, a service plan, and the function app itself. The function app is configured to use blob storage and is set to run on a Linux operating system.
18
18
@@ -35,10 +35,7 @@ In this quickstart, you use Terraform to create a function app in a Flex Consump
35
35
36
36
## Implement the Terraform code
37
37
38
-
> [!NOTE]
39
-
> The sample code for this article is located in the [Azure Terraform GitHub repo](https://github.com/Azure/terraform/tree/master/quickstart/101-azure-functions). You can view the log file containing the [test results from current and previous versions of Terraform](https://github.com/Azure/terraform/tree/master/quickstart/101-azure-functions/TestRecord.md).
40
-
>
41
-
> See more [articles and sample code showing how to use Terraform to manage Azure resources](/azure/terraform).
38
+
The sample code for this article is located in the [Azure Terraform GitHub repo](https://github.com/Azure/terraform/tree/master/quickstart/101-azure-functions). You can view the log file containing the [test results from current and previous versions of Terraform](https://github.com/Azure/terraform/tree/master/quickstart/101-azure-functions/TestRecord.md). See more [articles and sample code showing how to use Terraform to manage Azure resources](/azure/terraform).
42
39
43
40
1. Create a directory in which to test and run the sample Terraform code, and make it the current directory.
44
41
@@ -54,6 +51,8 @@ In this quickstart, you use Terraform to create a function app in a Flex Consump
54
51
1. Create a file named `variables.tf`, and insert the following code:
> [!IMPORTANT] > Azure Storage Actions is currently in PREVIEW and is available in these [regions](../overview.md#supported-regions). > See the [Supplemental Terms of Use for Microsoft Azure Previews](https://azure.microsoft.com/support/legal/preview-supplemental-terms/) for legal terms that apply to Azure features that are in beta, preview, or otherwise not yet released into general availability.
@@ -134,6 +133,10 @@ In this quickstart, you use Terraform to create a function app in a Flex Consump
134
133
135
134
---
136
135
136
+
Open a browser and enter the following URL: **https://<fa_name>.azurewebsites.net**. Replace the placeholder `<fa_name>` with the value output by Terraform.
0 commit comments