generated from opsd-io/terraform-module-template
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathvariables.tf
52 lines (44 loc) · 1.26 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 "common_tags" {
description = "A map of tags to assign to every resource in this module."
type = map(string)
default = {}
}
variable "bucket_name" {
description = "The name of the S3 Bucket to use for state storage."
type = string
}
variable "bucket_server_side_encryption" {
description = "If true, enables S3 bucket server-side encryption."
type = bool
default = true
}
variable "bucket_tags" {
description = "A map of tags to assign to the bucket."
type = map(string)
default = {}
}
variable "dynamodb_table_name" {
description = "The name of DynamoDB Table to use for state locking and consistency."
type = string
default = null
}
variable "dynamodb_table_tags" {
description = "A map of tags to assign to the table."
type = map(string)
default = {}
}
variable "iam_policy_name" {
description = "The name of the IAM policy to provide Terraform state access."
type = string
default = null
}
variable "iam_policy_path" {
description = "Path in which to create the policy."
type = string
default = "/"
}
variable "iam_policy_tags" {
description = "A map of tags to assign to the IAM policy."
type = map(string)
default = {}
}