forked from petervansickel/terraform-icp-ibmcloud
-
Notifications
You must be signed in to change notification settings - Fork 2
/
file_storage.tf
33 lines (28 loc) · 942 Bytes
/
file_storage.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
# /var/lib/registry
resource "ibm_storage_file" "fs_registry" {
type = "${var.fs_registry["type"]}"
datacenter = "${var.datacenter}"
capacity = "${var.fs_registry["size"]}"
iops = "${var.fs_registry["iops"]}"
hourly_billing = "${var.fs_registry["hourly_billing"]}"
tags = [
"${var.deployment}",
"fs-registry",
"${random_id.clusterid.hex}"
]
notes = "/var/lib/registry for ICP cluster ${random_id.clusterid.hex}"
}
#/var/lib/icp/audit
resource "ibm_storage_file" "fs_audit" {
type = "${var.fs_audit["type"]}"
datacenter = "${var.datacenter}"
capacity = "${var.fs_audit["size"]}"
iops = "${var.fs_audit["iops"]}"
hourly_billing = "${var.fs_audit["hourly_billing"]}"
tags = [
"${var.deployment}",
"fs-audit",
"${random_id.clusterid.hex}"
]
notes = "/var/lib/icp/audit for ICP cluster ${random_id.clusterid.hex}"
}