-
Notifications
You must be signed in to change notification settings - Fork 0
/
optional.tf
42 lines (35 loc) · 1.06 KB
/
optional.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
variable "name" {
description = "Name of the IAM role. If use_prefix is true, this will be the prefix of the role name. If null, will default to `product` value."
default = null
type = string
}
variable "use_prefix" {
description = "Use prefix instead of explicit name"
default = true
type = bool
}
variable "aws_services" {
description = "AWS services that will be assuming this role. e.g. [lambda, edgelambda]"
type = set(string)
default = []
}
variable "assume_role_policy" {
description = "JSON string of the assume role policy. If null, assumes that aws_services have been provided."
default = null
type = string
}
variable "create_instance_profile" {
description = "Create an instance profile for this role"
default = false
type = bool
}
variable "permissions_boundary_arn" {
description = "ARN of the permissions boundary to use for this role"
default = null
type = string
}
variable "path" {
description = "Path to the role"
default = null
type = string
}