forked from cloudposse/terraform-aws-iam-system-user
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathvariables.tf
41 lines (35 loc) · 1023 Bytes
/
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
variable "force_destroy" {
type = bool
description = "Destroy the user even if it has non-Terraform-managed IAM access keys, login profile or MFA devices"
default = false
}
variable "path" {
type = string
description = "Path in which to create the user"
default = "/"
}
variable "inline_policies" {
type = list(string)
description = "Inline policies to attach to our created user"
default = []
}
variable "inline_policies_map" {
type = map(string)
description = "Inline policies to attach (descriptive key => policy)"
default = {}
}
variable "policy_arns" {
type = list(string)
description = "Policy ARNs to attach to our created user"
default = []
}
variable "policy_arns_map" {
type = map(string)
description = "Policy ARNs to attach (descriptive key => arn)"
default = {}
}
variable "create_iam_access_key" {
type = bool
description = "Whether or not to create IAM access keys"
default = true
}