@@ -2,13 +2,13 @@ module "storage_account" {
2
2
source = " github.com/PerfectThymeTech/terraform-azurerm-modules//modules/storage?ref=main"
3
3
providers = {
4
4
azurerm = azurerm
5
- time = time
5
+ time = time
6
6
}
7
7
8
- location = var. location
9
- resource_group_name = azurerm_resource_group. logging_rg . name
10
- tags = var. tags
11
-
8
+ location = var. location
9
+ resource_group_name = azurerm_resource_group. logging_rg . name
10
+ tags = var. tags
11
+
12
12
storage_account_name = replace (" ${ local . prefix } -stg001" , " -" , " " )
13
13
storage_access_tier = " Hot"
14
14
storage_account_type = " StorageV2"
@@ -22,24 +22,24 @@ module "storage_account" {
22
22
storage_blob_versioning_enabled = false
23
23
storage_is_hns_enabled = false
24
24
storage_network_bypass = [" None" ]
25
- storage_network_private_link_access = [
25
+ storage_network_private_link_access = [
26
26
" /subscriptions/${ data . azurerm_client_config . current . subscription_id } /providers/Microsoft.Security/datascanners/storageDataScanner"
27
27
]
28
- storage_public_network_access_enabled = false
29
- storage_nfsv3_enabled = false
30
- storage_sftp_enabled = false
31
- storage_shared_access_key_enabled = false # Required to be set to 'true' when creating a Windows host
32
- storage_container_names = []
33
- storage_static_website = []
34
- diagnostics_configurations = local. diagnostics_configurations
35
- subnet_id = azapi_resource. subnet_private_endpoints . id
36
- connectivity_delay_in_seconds = var. connectivity_delay_in_seconds
37
- private_endpoint_subresource_names = [" blob" , " file" , " queue" , " table" ]
38
- private_dns_zone_id_blob = var. private_dns_zone_id_blob
39
- private_dns_zone_id_file = var. private_dns_zone_id_file
40
- private_dns_zone_id_table = var. private_dns_zone_id_table
41
- private_dns_zone_id_queue = var. private_dns_zone_id_queue
42
- private_dns_zone_id_web = " "
43
- private_dns_zone_id_dfs = " "
44
- customer_managed_key = local. customer_managed_key
28
+ storage_public_network_access_enabled = false
29
+ storage_nfsv3_enabled = false
30
+ storage_sftp_enabled = false
31
+ storage_shared_access_key_enabled = false # Required to be set to 'true' when creating a Windows host
32
+ storage_container_names = []
33
+ storage_static_website = []
34
+ diagnostics_configurations = local. diagnostics_configurations
35
+ subnet_id = azapi_resource. subnet_private_endpoints . id
36
+ connectivity_delay_in_seconds = var. connectivity_delay_in_seconds
37
+ private_endpoint_subresource_names = [" blob" , " file" , " queue" , " table" ]
38
+ private_dns_zone_id_blob = var. private_dns_zone_id_blob
39
+ private_dns_zone_id_file = var. private_dns_zone_id_file
40
+ private_dns_zone_id_table = var. private_dns_zone_id_table
41
+ private_dns_zone_id_queue = var. private_dns_zone_id_queue
42
+ private_dns_zone_id_web = " "
43
+ private_dns_zone_id_dfs = " "
44
+ customer_managed_key = local. customer_managed_key
45
45
}
0 commit comments