generated from oracle-quickstart/oci-quickstart-template
-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathiam-variables.tf
52 lines (48 loc) · 2.33 KB
/
iam-variables.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
# ---------------------------------------------------------------------------------------------------------------------
# IAM Group Names
# ---------------------------------------------------------------------------------------------------------------------
variable "workload_storage_admins_group_name" {
type = string
description = "The name for the workload storage administrators group"
default = "Workload-Storage-Admins"
validation {
condition = can(regex("^([\\w\\.-]){1,100}$", var.workload_storage_admins_group_name))
error_message = "Allowed maximum 100 characters, including letters, numbers, periods, hyphens, underscores, and is unique across all groups."
}
}
variable "workload_storage_users_group_name" {
type = string
description = "The name for the workload storage users group"
default = "Workload-Storage-Users"
validation {
condition = can(regex("^([\\w\\.-]){1,100}$", var.workload_storage_users_group_name))
error_message = "Allowed maximum 100 characters, including letters, numbers, periods, hyphens, underscores, and is unique across all groups."
}
}
variable "workload_admins_group_name" {
type = string
description = "The name for the workload administrators group"
default = "Workload-Admins"
validation {
condition = can(regex("^([\\w\\.-]){1,100}$", var.workload_admins_group_name))
error_message = "Allowed maximum 100 characters, including letters, numbers, periods, hyphens, underscores, and is unique across all groups."
}
}
variable "workload_users_group_name" {
type = string
description = "The name for the workload users group"
default = "Workload-Users"
validation {
condition = can(regex("^([\\w\\.-]){1,100}$", var.workload_users_group_name))
error_message = "Allowed maximum 100 characters, including letters, numbers, periods, hyphens, underscores, and is unique across all groups."
}
}
variable "database_admins_group_name" {
type = string
description = "The name for the database administrators group"
default = "Workload-Database-Admins"
validation {
condition = can(regex("^([\\w\\.-]){1,100}$", var.database_admins_group_name))
error_message = "Allowed maximum 100 characters, including letters, numbers, periods, hyphens, underscores, and is unique across all groups."
}
}