Skip to content

Commit

Permalink
Remove function app from Terraform
Browse files Browse the repository at this point in the history
  • Loading branch information
albal committed Jan 31, 2024
1 parent dc59446 commit 3fe66df
Show file tree
Hide file tree
Showing 3 changed files with 0 additions and 135 deletions.
10 changes: 0 additions & 10 deletions Terraform/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,6 @@ No modules.
| Name | Type |
|------|------|
| [azurerm_application_gateway.appgw](https://registry.terraform.io/providers/hashicorp/azurerm/3.75.0/docs/resources/application_gateway) | resource |
| [azurerm_linux_function_app.functionapp](https://registry.terraform.io/providers/hashicorp/azurerm/3.75.0/docs/resources/linux_function_app) | resource |
| [azurerm_linux_web_app.grafana-web-app](https://registry.terraform.io/providers/hashicorp/azurerm/3.75.0/docs/resources/linux_web_app) | resource |
| [azurerm_linux_web_app.linux-web-app](https://registry.terraform.io/providers/hashicorp/azurerm/3.75.0/docs/resources/linux_web_app) | resource |
| [azurerm_linux_web_app_slot.staging](https://registry.terraform.io/providers/hashicorp/azurerm/3.75.0/docs/resources/linux_web_app_slot) | resource |
Expand All @@ -37,12 +36,9 @@ No modules.
| [azurerm_private_endpoint.privateendpoint-gf](https://registry.terraform.io/providers/hashicorp/azurerm/3.75.0/docs/resources/private_endpoint) | resource |
| [azurerm_private_endpoint.searchprivateendpoint](https://registry.terraform.io/providers/hashicorp/azurerm/3.75.0/docs/resources/private_endpoint) | resource |
| [azurerm_search_service.ai-search](https://registry.terraform.io/providers/hashicorp/azurerm/3.75.0/docs/resources/search_service) | resource |
| [azurerm_service_plan.functionappsp](https://registry.terraform.io/providers/hashicorp/azurerm/3.75.0/docs/resources/service_plan) | resource |
| [azurerm_service_plan.service-plan](https://registry.terraform.io/providers/hashicorp/azurerm/3.75.0/docs/resources/service_plan) | resource |
| [azurerm_service_plan.service-plan-gf](https://registry.terraform.io/providers/hashicorp/azurerm/3.75.0/docs/resources/service_plan) | resource |
| [azurerm_storage_account.functionappsa](https://registry.terraform.io/providers/hashicorp/azurerm/3.75.0/docs/resources/storage_account) | resource |
| [azurerm_storage_account.gfsa](https://registry.terraform.io/providers/hashicorp/azurerm/3.75.0/docs/resources/storage_account) | resource |
| [azurerm_storage_container.functionappsc](https://registry.terraform.io/providers/hashicorp/azurerm/3.75.0/docs/resources/storage_container) | resource |
| [azurerm_storage_share.gffileshare](https://registry.terraform.io/providers/hashicorp/azurerm/3.75.0/docs/resources/storage_share) | resource |
| [azurerm_subnet.backend](https://registry.terraform.io/providers/hashicorp/azurerm/3.75.0/docs/resources/subnet) | resource |
| [azurerm_subnet.frontend](https://registry.terraform.io/providers/hashicorp/azurerm/3.75.0/docs/resources/subnet) | resource |
Expand Down Expand Up @@ -105,12 +101,6 @@ No modules.
| <a name="input_frontend_ip_configuration_name"></a> [frontend\_ip\_configuration\_name](#input\_frontend\_ip\_configuration\_name) | Name of Frontend IP Configuration | `map(string)` | <pre>{<br> "Dev": "s185d01AGIPConfig",<br> "Load-Test": "s185d03AGIPConfig",<br> "Pre-Prod": "s185t01AGIPConfig",<br> "Prod": "s185p01AGIPConfig",<br> "Test": "s185d02AGIPConfig"<br>}</pre> | no |
| <a name="input_frontend_port_name"></a> [frontend\_port\_name](#input\_frontend\_port\_name) | Name of Frontend Port | `map(string)` | <pre>{<br> "Dev": "s185d01FrontendPort",<br> "Load-Test": "s185d03FrontendPort",<br> "Pre-Prod": "s185t01FrontendPort",<br> "Prod": "s185p01FrontendPort",<br> "Test": "s185d02FrontendPort"<br>}</pre> | no |
| <a name="input_frontend_ssl_port_name"></a> [frontend\_ssl\_port\_name](#input\_frontend\_ssl\_port\_name) | Name of Frontend SSL Port | `map(string)` | <pre>{<br> "Dev": "s185d01FrontendSSLPort",<br> "Load-Test": "s185d03FrontendSSLPort",<br> "Pre-Prod": "s185t01FrontendSSLPort",<br> "Prod": "s185p01FrontendSSLPort",<br> "Test": "s185d02FrontendSSLPort"<br>}</pre> | no |
| <a name="input_functionapp_name"></a> [functionapp\_name](#input\_functionapp\_name) | Name of Function App | `map(string)` | <pre>{<br> "Dev": "s185d01-search",<br> "Load-Test": "s185d03-search",<br> "Pre-Prod": "s185t01-search",<br> "Prod": "s185p01-search",<br> "Test": "s185d02-search"<br>}</pre> | no |
| <a name="input_functionapp_service_plan_name"></a> [functionapp\_service\_plan\_name](#input\_functionapp\_service\_plan\_name) | Name of Function App Service Plan | `map(string)` | <pre>{<br> "Dev": "s185d01-search-service-plan",<br> "Load-Test": "s185d03-search-service-plan",<br> "Pre-Prod": "s185t01-search-service-plan",<br> "Prod": "s185p01-search-service-plan",<br> "Test": "s185d02-search-service-plan"<br>}</pre> | no |
| <a name="input_functionapp_sku_name"></a> [functionapp\_sku\_name](#input\_functionapp\_sku\_name) | Function App SKU | `map(string)` | <pre>{<br> "Dev": "B1",<br> "Load-Test": "P1v3",<br> "Pre-Prod": "B1",<br> "Prod": "P1v3",<br> "Test": "B1"<br>}</pre> | no |
| <a name="input_functionapp_storage_account_name"></a> [functionapp\_storage\_account\_name](#input\_functionapp\_storage\_account\_name) | Name of Function App Storage Account | `map(string)` | <pre>{<br> "Dev": "s185d01searchstorageacct",<br> "Load-Test": "s185d03searchstorageacct",<br> "Pre-Prod": "s185t01searchstorageacct",<br> "Prod": "s185p01searchstorageacct",<br> "Test": "s185d02searchstorageacct"<br>}</pre> | no |
| <a name="input_functionapp_storage_container_name"></a> [functionapp\_storage\_container\_name](#input\_functionapp\_storage\_container\_name) | Name of Function App Storage Container | `map(string)` | <pre>{<br> "Dev": "s185d01-search-storage-container",<br> "Load-Test": "s185d03-search-storage-container",<br> "Pre-Prod": "s185t01-search-storage-container",<br> "Prod": "s185p01-search-storage-container",<br> "Test": "s185d02-search-storage-container"<br>}</pre> | no |
| <a name="input_functionapp_worker_count"></a> [functionapp\_worker\_count](#input\_functionapp\_worker\_count) | Number of Function App Workers | `map(number)` | <pre>{<br> "Dev": 1,<br> "Load-Test": 1,<br> "Pre-Prod": 1,<br> "Prod": 1,<br> "Test": 1<br>}</pre> | no |
| <a name="input_fw_diag_name"></a> [fw\_diag\_name](#input\_fw\_diag\_name) | Firewall Diagnostic Name | `map(string)` | <pre>{<br> "Dev": "s185d01-firewall-diagnostics",<br> "Load-Test": "s185d03-firewall-diagnostics",<br> "Pre-Prod": "s185t01-firewall-diagnostics",<br> "Prod": "s185p01-firewall-diagnostics",<br> "Test": "s185d02-firewall-diagnostics"<br>}</pre> | no |
| <a name="input_fwpol_name"></a> [fwpol\_name](#input\_fwpol\_name) | Firewall Policy Name | `map(string)` | <pre>{<br> "Dev": "s185d01-firewall-policy",<br> "Load-Test": "s185d03-firewall-policy",<br> "Pre-Prod": "s185t01-firewall-policy",<br> "Prod": "s185p01-firewall-policy",<br> "Test": "s185d02-firewall-policy"<br>}</pre> | no |
| <a name="input_gateway_ip_configuration"></a> [gateway\_ip\_configuration](#input\_gateway\_ip\_configuration) | Name of Gateway IP Configuration | `map(string)` | <pre>{<br> "Dev": "s185d01-gateway-ip-configuration",<br> "Load-Test": "s185d03-gateway-ip-configuration",<br> "Pre-Prod": "s185t01-gateway-ip-configuration",<br> "Prod": "s185p01-gateway-ip-configuration",<br> "Test": "s185d02-gateway-ip-configuration"<br>}</pre> | no |
Expand Down
54 changes: 0 additions & 54 deletions Terraform/functionapp.tf

This file was deleted.

71 changes: 0 additions & 71 deletions Terraform/variables.tf
Original file line number Diff line number Diff line change
Expand Up @@ -738,77 +738,6 @@ variable "search_private_endpoint_conn_name" {
description = "Name of Private Endpoint Connection"
}

variable "functionapp_storage_account_name" {
type = map(string)
default = {
Test = "s185d02searchstorageacct"
Load-Test = "s185d03searchstorageacct"
Pre-Prod = "s185t01searchstorageacct"
Prod = "s185p01searchstorageacct"
Dev = "s185d01searchstorageacct"
}
description = "Name of Function App Storage Account"
}

variable "functionapp_storage_container_name" {
type = map(string)
default = {
Dev = "s185d01-search-storage-container"
Test = "s185d02-search-storage-container"
Load-Test = "s185d03-search-storage-container"
Pre-Prod = "s185t01-search-storage-container"
Prod = "s185p01-search-storage-container"
}
description = "Name of Function App Storage Container"
}

variable "functionapp_service_plan_name" {
type = map(string)
default = {
Dev = "s185d01-search-service-plan"
Test = "s185d02-search-service-plan"
Load-Test = "s185d03-search-service-plan"
Pre-Prod = "s185t01-search-service-plan"
Prod = "s185p01-search-service-plan"
}
description = "Name of Function App Service Plan"
}

variable "functionapp_name" {
type = map(string)
default = {
Dev = "s185d01-search"
Test = "s185d02-search"
Load-Test = "s185d03-search"
Pre-Prod = "s185t01-search"
Prod = "s185p01-search"
}
description = "Name of Function App"
}

variable "functionapp_sku_name" {
type = map(string)
default = {
Dev = "B1"
Test = "B1"
Load-Test = "P1v3"
Pre-Prod = "B1"
Prod = "P1v3"
}
description = "Function App SKU"
}

variable "functionapp_worker_count" {
type = map(number)
default = {
Dev = 1
Test = 1
Load-Test = 1
Pre-Prod = 1
Prod = 1
}
description = "Number of Function App Workers"
}

variable "cpd_search_api_key" {
description = "The Azure AI Search API key"
Expand Down

0 comments on commit 3fe66df

Please sign in to comment.