azurerm_windows_web_appNivis Nix constructor for the azurerm_windows_web_app resource (provider azurerm). This reference is derived from the provider binary's own schema via nivis gen — it always matches the real provider.
Constructor
{
name,
location,
resource_group_name,
service_plan_id,
app_settings ? null,
client_affinity_enabled ? null,
client_certificate_enabled ? null,
client_certificate_exclusion_paths ? null,
client_certificate_mode ? null,
enabled ? null,
end_to_end_tls_encryption_enabled ? null,
ftp_publish_basic_authentication_enabled ? null,
https_only ? null,
id ? null,
key_vault_reference_identity_id ? null,
cfg_name ? null,
public_network_access_enabled ? null,
tags ? null,
virtual_network_backup_restore_enabled ? null,
virtual_network_image_pull_enabled ? null,
virtual_network_subnet_id ? null,
webdeploy_publish_basic_authentication_enabled ? null,
zip_deploy_file ? null,
auth_settings ? null,
auth_settings_v2 ? null,
backup ? null,
connection_string ? null,
identity ? null,
logs ? null,
site_config ? null,
sticky_settings ? null,
storage_account ? null,
timeouts ? null,
overrides ? {}
}Required arguments
locationresource_group_nameservice_plan_id
Optional arguments
app_settings(defaults tonull)client_affinity_enabled(defaults tonull)client_certificate_enabled(defaults tonull)client_certificate_exclusion_paths(defaults tonull)client_certificate_mode(defaults tonull)enabled(defaults tonull)end_to_end_tls_encryption_enabled(defaults tonull)ftp_publish_basic_authentication_enabled(defaults tonull)https_only(defaults tonull)id(defaults tonull)key_vault_reference_identity_id(defaults tonull)cfg_name(defaults tonull)public_network_access_enabled(defaults tonull)tags(defaults tonull)virtual_network_backup_restore_enabled(defaults tonull)virtual_network_image_pull_enabled(defaults tonull)virtual_network_subnet_id(defaults tonull)webdeploy_publish_basic_authentication_enabled(defaults tonull)zip_deploy_file(defaults tonull)auth_settings(defaults tonull)auth_settings_v2(defaults tonull)backup(defaults tonull)connection_string(defaults tonull)identity(defaults tonull)logs(defaults tonull)site_config(defaults tonull)sticky_settings(defaults tonull)storage_account(defaults tonull)timeouts(defaults tonull)
Computed outputs
Read these from the resource's refAttr:
custom_domain_verification_iddefault_hostnamehosting_environment_idkindoutbound_ip_address_listoutbound_ip_addressespossible_outbound_ip_address_listpossible_outbound_ip_addressessite_credential
Example
azurerm_windows_web_app {
name = "windows_web_app";
location = …; # required
resource_group_name = …; # required
service_plan_id = …; # required
}The reference for every provider is generated from the provider's own schema, not copied from its documentation.