-
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathstorage.tf
More file actions
45 lines (43 loc) · 2.33 KB
/
storage.tf
File metadata and controls
45 lines (43 loc) · 2.33 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
module "storage_account" {
source = "github.com/PerfectThymeTech/terraform-azurerm-modules//modules/storage?ref=main"
providers = {
azurerm = azurerm
time = time
}
location = var.location
resource_group_name = azurerm_resource_group.app_rg.name
tags = var.tags
storage_account_name = replace("${local.prefix}-stg001", "-", "")
storage_access_tier = "Hot"
storage_account_type = "StorageV2"
storage_account_tier = "Standard"
storage_account_replication_type = "ZRS"
storage_blob_change_feed_enabled = false
storage_blob_container_delete_retention_in_days = 7
storage_blob_delete_retention_in_days = 7
storage_blob_cors_rules = {}
storage_blob_last_access_time_enabled = false
storage_blob_versioning_enabled = false
storage_is_hns_enabled = false
storage_network_bypass = ["None"]
storage_network_private_link_access = [
"/subscriptions/${data.azurerm_client_config.current.subscription_id}/providers/Microsoft.Security/datascanners/storageDataScanner"
]
storage_public_network_access_enabled = false
storage_nfsv3_enabled = false
storage_sftp_enabled = false
storage_shared_access_key_enabled = false # Required to be set to 'true' when creating a Windows host
storage_container_names = []
storage_static_website = []
diagnostics_configurations = local.diagnostics_configurations
subnet_id = azapi_resource.subnet_private_endpoints.id
connectivity_delay_in_seconds = var.connectivity_delay_in_seconds
private_endpoint_subresource_names = ["blob", "file", "queue", "table"]
private_dns_zone_id_blob = var.private_dns_zone_id_blob
private_dns_zone_id_file = var.private_dns_zone_id_file
private_dns_zone_id_table = var.private_dns_zone_id_table
private_dns_zone_id_queue = var.private_dns_zone_id_queue
private_dns_zone_id_web = ""
private_dns_zone_id_dfs = ""
customer_managed_key = local.customer_managed_key
}