-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathvariables.tf
66 lines (55 loc) · 2.27 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
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
################################################################################
### SSO PERMISSION SET
################################################################################
# NAME
variable "name" {
type = string
description = "(Required, Forces new resource) The name of the Permission Set."
}
# DESCRIPTION
variable "description" {
type = string
description = "(Optional) The description of the Permission Set."
default = null
}
# INSTANCE ARN
variable "instance_arn" {
description = "(Required, Forces new resource) The Amazon Resource Name (ARN) of the SSO Instance under which the operation will be executed."
type = string
}
# RELAY STATE
variable "relay_state" {
description = "(Optional) The relay state URL used to redirect users within the application during the federation authentication process."
type = string
default = ""
}
# SESSION DURATION
variable "session_duration" {
description = "(Optional) The length of time that the application user sessions are valid in the ISO-8601 standard. Default: PT1H."
type = string
default = "PT1H"
}
# TAGS
variable "tags" {
description = "(Optional) Key-value map of resource tags. If configured with a provider default_tags configuration block present, tags with matching keys will overwrite those defined at the provider-level."
type = map(string)
default = {}
}
################################################################################
### SSO MANAGED POLICY ATTACHMENT
################################################################################
# SSO MANAGED POLICY ARNS
variable "managed_policy_arns" {
type = list(string)
description = "(Optional) List of aws managed policy arns that will be attached to the permission set."
default = []
}
################################################################################
### SSO PERMISSION SET INLINE POLICY
################################################################################
# INLINE POLICY JSONS
variable "inline_policy_jsons" {
type = list(string)
description = "(Optional) A list of json formatted policy documents. (Use 'data \"aws_iam_policy_document\" \"policy\" {}' and pass in the json attribute in a list format."
default = []
}