|
1 | | -# Azure <> Terraform module |
2 | | -Terraform module for creation Azure <> |
| 1 | +# Azure Linux Web App Terraform module |
| 2 | +Terraform module for creation Azure Linux Web App |
3 | 3 |
|
4 | 4 | ## Usage |
5 | 5 |
|
6 | 6 | <!-- BEGIN_TF_DOCS --> |
| 7 | +## Requirements |
7 | 8 |
|
| 9 | +| Name | Version | |
| 10 | +|------|---------| |
| 11 | +| <a name="requirement_terraform"></a> [terraform](#requirement\_terraform) | >= 1.0.0 | |
| 12 | +| <a name="requirement_azurerm"></a> [azurerm](#requirement\_azurerm) | >= 3.23.0 | |
| 13 | + |
| 14 | +## Providers |
| 15 | + |
| 16 | +| Name | Version | |
| 17 | +|------|---------| |
| 18 | +| <a name="provider_azurerm"></a> [azurerm](#provider\_azurerm) | 3.27.0 | |
| 19 | + |
| 20 | +## Modules |
| 21 | + |
| 22 | +No modules. |
| 23 | + |
| 24 | +## Resources |
| 25 | + |
| 26 | +| Name | Type | |
| 27 | +|------|------| |
| 28 | +| [azurerm_app_service_virtual_network_swift_connection.this](https://registry.terraform.io/providers/hashicorp/azurerm/latest/docs/resources/app_service_virtual_network_swift_connection) | resource | |
| 29 | +| [azurerm_application_insights.this](https://registry.terraform.io/providers/hashicorp/azurerm/latest/docs/resources/application_insights) | resource | |
| 30 | +| [azurerm_linux_web_app.this](https://registry.terraform.io/providers/hashicorp/azurerm/latest/docs/resources/linux_web_app) | resource | |
| 31 | + |
| 32 | +## Inputs |
| 33 | + |
| 34 | +| Name | Description | Type | Default | Required | |
| 35 | +|------|-------------|------|---------|:--------:| |
| 36 | +| <a name="input_app_settings"></a> [app\_settings](#input\_app\_settings) | Application setting | `map(string)` | `{}` | no | |
| 37 | +| <a name="input_application_type"></a> [application\_type](#input\_application\_type) | Application type (java, python, etc) | `string` | `"java"` | no | |
| 38 | +| <a name="input_env"></a> [env](#input\_env) | Environment | `string` | n/a | yes | |
| 39 | +| <a name="input_ip_restriction"></a> [ip\_restriction](#input\_ip\_restriction) | Firewall settings for the function app | <pre>list(object({<br> name = string<br> ip_address = string<br> service_tag = string<br> virtual_network_subnet_id = string<br> priority = string<br> action = string<br> headers = list(object({<br> x_azure_fdid = list(string)<br> x_fd_health_probe = list(string)<br> x_forwarded_for = list(string)<br> x_forwarded_host = list(string)<br> }))<br> }))</pre> | <pre>[<br> {<br> "action": "Allow",<br> "headers": null,<br> "ip_address": null,<br> "name": "allow_azure",<br> "priority": "100",<br> "service_tag": "AzureCloud",<br> "virtual_network_subnet_id": null<br> }<br>]</pre> | no | |
| 40 | +| <a name="input_java_version"></a> [java\_version](#input\_java\_version) | Java version | `string` | `"8"` | no | |
| 41 | +| <a name="input_location"></a> [location](#input\_location) | Location | `string` | n/a | yes | |
| 42 | +| <a name="input_name"></a> [name](#input\_name) | Function index/name (like 007) | `string` | n/a | yes | |
| 43 | +| <a name="input_project"></a> [project](#input\_project) | Project name | `string` | n/a | yes | |
| 44 | +| <a name="input_resource_group"></a> [resource\_group](#input\_resource\_group) | Resource group name | `string` | n/a | yes | |
| 45 | +| <a name="input_service_plan_id"></a> [service\_plan\_id](#input\_service\_plan\_id) | App Service plan ID | `string` | n/a | yes | |
| 46 | +| <a name="input_subnet_id"></a> [subnet\_id](#input\_subnet\_id) | Subnet ID for the function app | `string` | `null` | no | |
| 47 | +| <a name="input_tags"></a> [tags](#input\_tags) | Tags | `map(string)` | n/a | yes | |
| 48 | +| <a name="input_use_private_net"></a> [use\_private\_net](#input\_use\_private\_net) | Use private network injection | `bool` | `false` | no | |
| 49 | + |
| 50 | +## Outputs |
| 51 | + |
| 52 | +| Name | Description | |
| 53 | +|------|-------------| |
| 54 | +| <a name="output_id"></a> [id](#output\_id) | Linux Web App ID | |
| 55 | +| <a name="output_identity"></a> [identity](#output\_identity) | Function app Managed Identity | |
8 | 56 | <!-- END_TF_DOCS --> |
9 | 57 |
|
10 | 58 | ## License |
11 | 59 |
|
12 | | -Apache 2 Licensed. For more information please see [LICENSE](https://github.com/data-platform-hq/terraform-azurerm<>/tree/master/LICENSE) |
| 60 | +Apache 2 Licensed. For more information please see [LICENSE](https://github.com/data-platform-hq/terraform-azurerm-linux-web-app/tree/main/LICENSE) |
0 commit comments