1
1
variable "subaccount_name" {
2
- description = " Name of the subacccount ."
2
+ description = " Name of the subaccount ."
3
3
type = string
4
4
}
5
5
@@ -15,14 +15,14 @@ variable "region" {
15
15
16
16
variable "parent_directory_id" {
17
17
type = string
18
- description = " Id of the parent directory or null for global account as parent."
18
+ description = " ID of the parent directory or null for global account as parent."
19
19
default = null
20
20
}
21
21
22
22
variable "subaccount_labels" {
23
23
description = " Labels for the subaccount."
24
24
type = map (set (string ))
25
- default = null
25
+ default = {}
26
26
}
27
27
28
28
variable "entitlements" {
@@ -67,30 +67,42 @@ variable "cf_org_name" {
67
67
}
68
68
69
69
variable "cf_org_managers" {
70
- type = list (string )
70
+ type = set (string )
71
71
description = " List of Cloud Foundry org managers."
72
72
default = []
73
73
}
74
74
75
75
variable "cf_org_billing_managers" {
76
- type = list (string )
76
+ type = set (string )
77
77
description = " List of Cloud Foundry org billing managers."
78
78
default = []
79
79
}
80
80
81
81
variable "cf_org_auditors" {
82
- type = list (string )
82
+ type = set (string )
83
83
description = " List of Cloud Foundry org auditors."
84
84
default = []
85
85
}
86
86
87
+ variable "cf_org_user" {
88
+ type = set (string )
89
+ description = " List of Cloud Foundry org users to be added as space users."
90
+ default = []
91
+ }
92
+
93
+ variable "origin" {
94
+ type = string
95
+ description = " Origin of the user."
96
+ default = " sap.ids"
97
+ }
98
+
87
99
variable "cf_spaces" {
88
100
type = list (object ({
89
101
space_name = string
90
- space_managers = list (string )
91
- space_developers = list (string )
92
- space_auditors = list (string )
102
+ space_managers = set (string )
103
+ space_developers = set (string )
104
+ space_auditors = set (string )
93
105
}))
94
106
description = " List of Cloud Foundry spaces."
95
107
default = []
96
- }
108
+ }
0 commit comments