-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathvariables.tf
52 lines (46 loc) · 1.18 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
variable "region" {
description = "The region of the S3 bucket and DynamoDB lock table"
default = "us-east-1"
}
variable "bucket" {
description = "The Terraform state bucket"
}
variable "dynamodb_table_suffix" {
default = "lock"
description = "The Terraform state lock table suffix"
}
variable "stacks" {
description = "The Terraform stack names."
default = [ ]
}
variable "allowed_workspace" {
description = "The allowed Terraform workspace name to create the backend resources"
default = "default"
}
variable "role" {
description = "The name of the Terraform role."
default = "terraform"
}
variable "create_role" {
default = "true"
}
variable "services" {
type = "list"
description = "The list of Services that can assume the Terraform role."
default = [
"codepipeline.amazonaws.com",
"codebuild.amazonaws.com",
"ec2.amazonaws.com",
]
}
variable "operators" {
type = "list"
description = "The list of Users who can assume the terraform role."
default = []
}
variable "role_policies" {
description = "The policies to attach to the Terraform role"
default = [
"arn:aws:iam::aws:policy/AdministratorAccess"
]
}