cleaning up

This commit is contained in:
Tom Archer
2024-11-01 09:13:01 -07:00
committed by lonegunmanb
parent d9ceb6ca3d
commit 6b5c659496
3 changed files with 76 additions and 48 deletions

View File

@ -10,7 +10,6 @@ This template deploys an Azure Function App.
- [azurerm_storage_account](https://registry.terraform.io/providers/hashicorp/azurerm/latest/docs/resources/storage_account)
- [azurerm_service_plan](https://registry.terraform.io/providers/hashicorp/azurerm/latest/docs/resources/service_plan)
- [azurerm_function_app](https://registry.terraform.io/providers/hashicorp/azurerm/latest/docs/resources/function_app)
- [azurerm_application_insights](https://registry.terraform.io/providers/hashicorp/azurerm/latest/docs/resources/application_insights)
## Variables
@ -18,7 +17,11 @@ This template deploys an Azure Function App.
|-|-|-|
| `resource_group_name_prefix` | Prefix of the resource group name that's combined with a random ID so name is unique in your Azure subscription. | rg |
| `resource_group_location` | Location of the resource group. | eastus |
| `appName` | The name of the function app that you wish to create. | fnapp${random_string.unique_id.result} |
| `runtime` | The language worker runtime to load in the function app. Possible values are: node, dotnet, java. | node |
| `sa_account_tier` | The tier of the storage account. Possible values are Standard and Premium. | "Standard" |
| `sa_account_replication_type` | The replication type of the storage account. Possible values are LRS, GRS, RAGRS, and ZRS. | "LRS" |
| `sa_name` | The name of the storage account. | Randomly generated |
| `asp_name` | The name of the App Service Plan. | Randomly generated |
| `asp_sku_tier` | The SKU tier of the App Service Plan. Possible values are Free, Shared, Basic, Standard, Premium, PremiumV2, and PremiumV3. | "Standard" |
| `fa_name` | The name of the Function App." | Randomly generated |
## Example