Name | Version |
---|---|
terraform | >= 1.6.3 |
azurerm | 4.14.0 |
Name | Version |
---|---|
azurerm | 4.14.0 |
No modules.
Name | Type |
---|---|
azurerm_app_service.main | resource |
azurerm_app_service_plan.main | resource |
azurerm_app_service_slot.main | resource |
azurerm_client_config.current | data source |
azurerm_resource_group.rg | data source |
Name | Description | Type | Default | Required |
---|---|---|---|---|
app_service_always_on | Indicates whether the App Service should always be running. Defaults to false. | bool |
false |
no |
app_service_app_command_line | The command line to launch the app in the App Service. Can be left empty. | string |
"" |
no |
app_service_auth_settings | Indicates whether authentication is enabled for the App Service. | bool |
false |
no |
app_service_ftps_state | State of FTP / FTPS service for this App Service. Possible values include: AllAllowed, FtpsOnly, and Disabled. | string |
"FtpsOnly" |
no |
app_service_http2_enabled | Indicates whether HTTP2 is enabled on this App Service. Defaults to false. | bool |
false |
no |
app_service_https_only | Indicates whether the App Service should only be accessible via HTTPS. Defaults to false. | bool |
false |
no |
app_service_linux_fx_version | Specifies the Linux App Framework and version for the App Service. | string |
n/a | yes |
app_service_min_tls_version | The minimum supported TLS version for the App Service. Possible values are 1.0, 1.1, and 1.2. Defaults to 1.2 for new app services. | string |
"1.2" |
no |
app_service_name | The name of the App Service (web application). | string |
n/a | yes |
app_service_plan_kind | The kind of the App Service Plan to create. Possible values are Windows (also available as App), Linux, elastic (for Premium Consumption), and FunctionApp (for a Consumption Plan). Defaults to Windows. | string |
"Linux" |
no |
app_service_plan_name | Specifies the name of the App Service Plan component. Changing this forces a new resource to be created. | string |
n/a | yes |
app_service_plan_reserved | Indicates whether this App Service Plan is Reserved. Defaults to false. | bool |
true |
no |
app_service_plan_size | The size specifier of the resource SKU. Available sizes include F1 (Free), D1 (Shared), B1 (Basic Small), S1 (Standard Small), and many others. See full list for details. | string |
"S1" |
no |
app_service_plan_tier | Specifies the pricing tier of the App Service Plan. Valid options are Free, Shared, Basic, Standard, PremiumV2, and Isolated. | string |
"Basic" |
no |
app_service_settings | A map of key-value pairs to configure App Settings for the App Service. | map(any) |
{} |
no |
app_service_use_32_bit_worker_process | Indicates whether the App Service should run in 32-bit mode rather than 64-bit mode. | bool |
false |
no |
app_service_websockets_enabled | Indicates whether WebSockets should be enabled for the App Service. | bool |
false |
no |
app_settings | A key-value pair of App Settings to configure the App Service. | map |
{} |
no |
application_logs_file_system_level | The log level for filesystem-based logging. Supported values are Error, Information, Verbose, Warning, and Off. Defaults to Off. | string |
"Off" |
no |
auth_settings | A list of authentication settings for the App Service. | list(object({ |
[] |
no |
client_cert_enabled | Indicates whether client certificate authentication is enabled for the App Service. | bool |
false |
no |
connection_strings | A collection of connection string objects to create with the App Service. | list(object({ |
[] |
no |
default_documents | A list of default documents for the App Service. | list(string) |
[] |
no |
default_tags | A mapping of tags to assign to the resource, useful for resource organization and management. | map(any) |
n/a | yes |
docker_registry_server_password | The Password associated with the Container Registry Admin account (if enabled). | string |
null |
no |
docker_registry_server_url | The URL that can be used to log into the container registry. | string |
null |
no |
docker_registry_server_username | The Username associated with the Container Registry Admin account (if enabled). | string |
null |
no |
environment | The environment name used for backend container name key (e.g., dev, prod). | string |
"dev" |
no |
identity_settings | A list of identity settings for the App Service. | list(object({ |
[] |
no |
ip_restrictions | A list of IP addresses allowed to access the App Service. | list(object({ |
[] |
no |
is_blue_green_deployment_enabled | Indicates whether this App Service uses a deployment slot to perform blue-green deployments. | bool |
false |
no |
region | The Azure region in which the resources are deployed. Example: 'weu' for West Europe. | string |
"weu" |
no |
resource_group_location | The location/region where the resource group is created. Changing this forces a new resource to be created. | string |
"West Europe" |
no |
resource_group_name | The name of the resource group in which to create the resource. | string |
n/a | yes |
Name | Description |
---|---|
custom_domain_verification_id | An identifier used by App Service to verify domain ownership via a DNS TXT record for custom domain configuration. |
default_site_hostname_app_service | The default hostname associated with the App Service, used for accessing the web application. |
default_site_hostname_pp_service_slot | The default hostname associated with the App Service Slot, used to access the application in that slot. |
id_app_service | The unique ID of the App Service, which represents the deployed web application. |
id_app_service_plan | The unique ID of the App Service Plan component, which defines the pricing and scaling properties of the App Service. |
id_app_service_slot | The unique ID of the App Service Slot, representing a specific deployment environment (e.g., staging or production). |
maximum_number_of_workers | The maximum number of workers supported by the App Service Plan's SKU, determining the scaling capacity. |
outbound_ip_address_list | A list of outbound IP addresses used by the App Service for outgoing traffic. |