-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathstorageacct.tf
55 lines (45 loc) · 2.06 KB
/
storageacct.tf
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
46
47
48
49
50
51
52
53
54
55
resource "azurerm_storage_account" "storussccoreadmin01" {
name = "storussccoreadmin01"
resource_group_name = azurerm_resource_group.ussc-admin.name
location = azurerm_resource_group.ussc-admin.location
account_tier = "Standard"
account_replication_type = "LRS"
tags = merge(local.settings.common_tags, local.settings.core_tags, { ms-resource-usage = "azure-cloud-shell" })
}
resource "azurerm_storage_share" "dsmith-shell" {
name = "dsmith-shell"
storage_account_name = azurerm_storage_account.storussccoreadmin01.name
quota = 50
# acl {
# id = "MTIzNDU2Nzg5MDEyMzQ1Njc4OTAxMjM0NTY3ODkwMTI"
# access_policy {
# permissions = "rwdl"
# start = "2019-07-02T09:38:21.0000000Z"
# expiry = "2019-07-02T10:38:21.0000000Z"
# }
# }
}
resource "azurerm_storage_account" "storeuwcoreadmin01" {
name = "storeuwcoreadmin01"
resource_group_name = azurerm_resource_group.euw-admin.name
location = azurerm_resource_group.euw-admin.location
account_tier = "Standard"
account_replication_type = "LRS"
tags = merge(local.settings.common_tags, local.settings.core_tags, { ms-resource-usage = "azure-cloud-shell" })
}
resource "azurerm_storage_account" "storeuwcorelogs01" {
name = "storeuwcorelogs01"
location = azurerm_resource_group.euw-law.location
resource_group_name = azurerm_resource_group.euw-law.name
account_tier = "Standard"
account_replication_type = "LRS"
tags = merge(local.settings.common_tags, local.settings.core_tags)
}
resource "azurerm_storage_account" "storussccorelogs01" {
name = "storussccorelogs01"
location = azurerm_resource_group.ussc-law.location
resource_group_name = azurerm_resource_group.ussc-law.name
account_tier = "Standard"
account_replication_type = "LRS"
tags = merge(local.settings.common_tags, local.settings.core_tags)
}