Skip to content

Commit 6396428

Browse files
author
Hauke Brandt
committed
Examples include now an nfs share with premium storage account
1 parent 0fa170f commit 6396428

1 file changed

Lines changed: 20 additions & 0 deletions

File tree

examples/main.tf

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,18 @@ module "storage" {
1414
service = "service_name"
1515
}
1616
}
17+
filestorage = {
18+
name = "servicefilestg"
19+
resource_group_name = "service-infrastructure-rg"
20+
location = "westeurope"
21+
account_kind = "FileStorage"
22+
account_tier = "Premium"
23+
account_replication_type = "LRS"
24+
enable_https_traffic_only = false
25+
tags = {
26+
service = "service_name"
27+
}
28+
}
1729
}
1830
storage_container = {
1931
terraform = {
@@ -23,4 +35,12 @@ module "storage" {
2335
}
2436
}
2537
}
38+
storage_share = {
39+
nfsfiles = {
40+
storage_account_name = module.storage.storage_account.filestorage.name
41+
access_tier = "Premium"
42+
enabled_protocol = "NFS"
43+
quota = 100
44+
}
45+
}
2646
}

0 commit comments

Comments
 (0)