azurerm_static_web_appNivis Nix constructor for the azurerm_static_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,
app_settings ? null,
configuration_file_changes_enabled ? null,
id ? null,
cfg_name ? null,
preview_environments_enabled ? null,
public_network_access_enabled ? null,
repository_branch ? null,
repository_token ? null,
repository_url ? null,
sku_size ? null,
sku_tier ? null,
tags ? null,
basic_auth ? null,
identity ? null,
timeouts ? null,
overrides ? {}
}Required arguments
locationresource_group_name
Optional arguments
app_settings(defaults tonull)configuration_file_changes_enabled(defaults tonull)id(defaults tonull)cfg_name(defaults tonull)preview_environments_enabled(defaults tonull)public_network_access_enabled(defaults tonull)repository_branch(defaults tonull)repository_token(defaults tonull)repository_url(defaults tonull)sku_size(defaults tonull)sku_tier(defaults tonull)tags(defaults tonull)basic_auth(defaults tonull)identity(defaults tonull)timeouts(defaults tonull)
Computed outputs
Read these from the resource's refAttr:
api_keydefault_host_name
Example
azurerm_static_web_app {
name = "static_web_app";
location = …; # required
resource_group_name = …; # required
}The reference for every provider is generated from the provider's own schema, not copied from its documentation.