Manages a Linux Web App.
- Format and validate Terraform code before commit.
terraform init -upgrade \
&& terraform init -reconfigure -upgrade \
&& terraform fmt -recursive . \
&& terraform fmt -check \
&& terraform validate .- Always fetch latest changes from upstream and rebase from it. Terraform documentation will always be updated with GitHub Actions. See also .github/workflows/terraform.yml GitHub Actions workflow.
git fetch --all --tags --prune --prune-tags \
&& git pull --rebase --all --prune --tags| Name | Version |
|---|---|
| terraform | >= 1.8.2 |
| azurerm | >= 4.18.0, < 5.0.0 |
| Name | Version |
|---|---|
| azurerm | 4.49.0 |
No modules.
| Name | Type |
|---|---|
| azurerm_app_service_certificate_binding.cert_binding | resource |
| azurerm_app_service_custom_hostname_binding.custom_hostname | resource |
| azurerm_app_service_managed_certificate.cert | resource |
| azurerm_linux_web_app.linux_web_app | resource |
| Name | Description | Type | Default | Required |
|---|---|---|---|---|
| app_name | (Required) Name of this resource within the system it belongs to (see naming convention guidelines). Will be part of the final name of the deployed resource. |
string |
n/a | yes |
| app_settings | (Optional) A map of key-value pairs of App Settings as defined at azurerm_linux_web_app. | map(any) |
{} |
no |
| configuration | (Optional) The configuration for block type arguments. | any |
null |
no |
| custom_domain | (Optional) A custom domain name / hostname. Example: "api.test.no" | string |
null |
no |
| environment | (Required) The name of the environment. | string |
n/a | yes |
| https_only | (Optional) Should the Linux Web App require HTTPS connections. Defaults to true. |
bool |
true |
no |
| override_location | (Optional) Override the location of the resource. Under normal circumstances, it should not be used. | string |
null |
no |
| override_name | (Optional) Override the name of the resource. Under normal circumstances, it should not be used. | string |
null |
no |
| public_network_access_enabled | (Optional) Should public network access be enabled for the Web App. Only private endpoints allow access if disabled. Defaults to true. |
bool |
true |
no |
| resource_group | (Required) The resource group in which to create the resource. | any |
n/a | yes |
| service_plan_id | (Required) The ID of the Service Plan that this Linux App Service will be created in. | string |
n/a | yes |
| storage_mounts | Storage account mounts for the app service | list(object({ |
[] |
no |
| system_short_name | (Required) Short abbreviation (to-three letters) of the system name that this resource belongs to (see naming convention guidelines). Will be part of the final name of the deployed resource. |
string |
n/a | yes |
| tags | (Optional) A mapping of tags to assign to the resource. | map(string) |
{} |
no |
| Name | Description |
|---|---|
| azurerm_linux_web_app | The Azure Linux Web App resource. |