azurerm_static_web_app

Nivis 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
  • location
  • resource_group_name
Optional arguments
  • app_settings (defaults to null)
  • configuration_file_changes_enabled (defaults to null)
  • id (defaults to null)
  • cfg_name (defaults to null)
  • preview_environments_enabled (defaults to null)
  • public_network_access_enabled (defaults to null)
  • repository_branch (defaults to null)
  • repository_token (defaults to null)
  • repository_url (defaults to null)
  • sku_size (defaults to null)
  • sku_tier (defaults to null)
  • tags (defaults to null)
  • basic_auth (defaults to null)
  • identity (defaults to null)
  • timeouts (defaults to null)
Computed outputs

Read these from the resource's refAttr:

  • api_key
  • default_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.