-
Notifications
You must be signed in to change notification settings - Fork 1
/
variables.tf
50 lines (47 loc) · 1.43 KB
/
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
# Copyright (c) 2020, Oracle and/or its affiliates.
# Licensed under the Universal Permissive License v 1.0 as shown at https://oss.oracle.com/licenses/upl.
# iam configuration
variable "iam_config" {
type = object({
default_compartment_id = string,
default_defined_tags = map(string),
default_freeform_tags = map(string),
compartments = map(object({
description = string,
compartment_id = string,
defined_tags = map(string),
freeform_tags = map(string)
}))
groups = map(object({
compartment_id = string,
defined_tags = map(string),
freeform_tags = map(string),
description = string
})),
users = map(object({
compartment_id = string,
defined_tags = map(string),
freeform_tags = map(string),
description = string,
email = string,
groups = list(string)
})),
dynamic_groups = map(object({
compartment_id = string,
description = string,
instance_ids = list(string),
defined_tags = map(string),
freeform_tags = map(string)
})),
policies = map(object({
compartment_id = string,
defined_tags = map(string),
freeform_tags = map(string),
description = string,
statements = list(string),
version_date = string
})
)
})
description = "Parameters to provision zero, one or multiple dynamic groups"
}