azurerm_storage_accountNivis Nix constructor for the azurerm_storage_account 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,
account_replication_type,
account_tier,
location,
resource_group_name,
access_tier ? null,
account_kind ? null,
allow_nested_items_to_be_public ? null,
allowed_copy_scope ? null,
cross_tenant_replication_enabled ? null,
default_to_oauth_authentication ? null,
dns_endpoint_type ? null,
edge_zone ? null,
https_traffic_only_enabled ? null,
id ? null,
infrastructure_encryption_enabled ? null,
is_hns_enabled ? null,
large_file_share_enabled ? null,
local_user_enabled ? null,
min_tls_version ? null,
cfg_name ? null,
nfsv3_enabled ? null,
provisioned_billing_model_version ? null,
public_network_access ? null,
public_network_access_enabled ? null,
queue_encryption_key_type ? null,
sftp_enabled ? null,
shared_access_key_enabled ? null,
smb_oauth_enabled ? null,
table_encryption_key_type ? null,
tags ? null,
azure_files_authentication ? null,
blob_properties ? null,
custom_domain ? null,
customer_managed_key ? null,
identity ? null,
immutability_policy ? null,
network_rules ? null,
routing ? null,
sas_policy ? null,
share_properties ? null,
timeouts ? null,
overrides ? {}
}Required arguments
account_replication_typeaccount_tierlocationresource_group_name
Optional arguments
access_tier(defaults tonull)account_kind(defaults tonull)allow_nested_items_to_be_public(defaults tonull)allowed_copy_scope(defaults tonull)cross_tenant_replication_enabled(defaults tonull)default_to_oauth_authentication(defaults tonull)dns_endpoint_type(defaults tonull)edge_zone(defaults tonull)https_traffic_only_enabled(defaults tonull)id(defaults tonull)infrastructure_encryption_enabled(defaults tonull)is_hns_enabled(defaults tonull)large_file_share_enabled(defaults tonull)local_user_enabled(defaults tonull)min_tls_version(defaults tonull)cfg_name(defaults tonull)nfsv3_enabled(defaults tonull)provisioned_billing_model_version(defaults tonull)public_network_access(defaults tonull)public_network_access_enabled(defaults tonull)queue_encryption_key_type(defaults tonull)sftp_enabled(defaults tonull)shared_access_key_enabled(defaults tonull)smb_oauth_enabled(defaults tonull)table_encryption_key_type(defaults tonull)tags(defaults tonull)azure_files_authentication(defaults tonull)blob_properties(defaults tonull)custom_domain(defaults tonull)customer_managed_key(defaults tonull)identity(defaults tonull)immutability_policy(defaults tonull)network_rules(defaults tonull)routing(defaults tonull)sas_policy(defaults tonull)share_properties(defaults tonull)timeouts(defaults tonull)
Computed outputs
Read these from the resource's refAttr:
account_replication_type_migrating_toaccount_replication_type_migration_in_progressprimary_access_keyprimary_blob_connection_stringprimary_blob_endpointprimary_blob_hostprimary_blob_internet_endpointprimary_blob_internet_hostprimary_blob_microsoft_endpointprimary_blob_microsoft_hostprimary_connection_stringprimary_dfs_endpointprimary_dfs_hostprimary_dfs_internet_endpointprimary_dfs_internet_hostprimary_dfs_microsoft_endpointprimary_dfs_microsoft_hostprimary_file_endpointprimary_file_hostprimary_file_internet_endpointprimary_file_internet_hostprimary_file_microsoft_endpointprimary_file_microsoft_hostprimary_locationprimary_queue_endpointprimary_queue_hostprimary_queue_microsoft_endpointprimary_queue_microsoft_hostprimary_table_endpointprimary_table_hostprimary_table_microsoft_endpointprimary_table_microsoft_hostprimary_web_endpointprimary_web_hostprimary_web_internet_endpointprimary_web_internet_hostprimary_web_microsoft_endpointprimary_web_microsoft_hostsecondary_access_keysecondary_blob_connection_stringsecondary_blob_endpointsecondary_blob_hostsecondary_blob_internet_endpointsecondary_blob_internet_hostsecondary_blob_microsoft_endpointsecondary_blob_microsoft_hostsecondary_connection_stringsecondary_dfs_endpointsecondary_dfs_hostsecondary_dfs_internet_endpointsecondary_dfs_internet_hostsecondary_dfs_microsoft_endpointsecondary_dfs_microsoft_hostsecondary_file_endpointsecondary_file_hostsecondary_file_internet_endpointsecondary_file_internet_hostsecondary_file_microsoft_endpointsecondary_file_microsoft_hostsecondary_locationsecondary_queue_endpointsecondary_queue_hostsecondary_queue_microsoft_endpointsecondary_queue_microsoft_hostsecondary_table_endpointsecondary_table_hostsecondary_table_microsoft_endpointsecondary_table_microsoft_hostsecondary_web_endpointsecondary_web_hostsecondary_web_internet_endpointsecondary_web_internet_hostsecondary_web_microsoft_endpointsecondary_web_microsoft_host
Example
azurerm_storage_account {
name = "storage_account";
account_replication_type = …; # required
account_tier = …; # required
location = …; # required
resource_group_name = …; # required
}The reference for every provider is generated from the provider's own schema, not copied from its documentation.