forked from cloudposse/terraform-aws-cloudtrail-s3-bucket
-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathvariables.tf
54 lines (45 loc) · 1.32 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
variable "namespace" {
description = "Namespace (e.g. `cp` or `cloudposse`)"
type = "string"
}
variable "stage" {
description = "Stage (e.g. `prod`, `dev`, `staging`)"
type = "string"
}
variable "name" {
description = "Name (e.g. `app` or `cluster`)"
type = "string"
}
variable "delimiter" {
type = "string"
default = "-"
description = "Delimiter to be used between `namespace`, `stage`, `name` and `attributes`"
}
variable "attributes" {
type = "list"
default = []
description = "Additional attributes (e.g. `logs`)"
}
variable "tags" {
type = "map"
default = {}
description = "Additional tags (e.g. map(`BusinessUnit`,`XYZ`)"
}
variable "acl" {
type = "string"
description = "Canned ACL to apply to the S3 bucket"
default = "log-delivery-write"
}
variable "region" {
type = "string"
default = "us-east-1"
description = "AWS Region for S3 bucket"
}
variable "force_destroy" {
description = "A boolean that indicates the bucket can be destroyed even if it contains objects. These objects are not recoverable"
default = "false"
}
variable "create_s3_bucket" {
description = "A boolean that allows us to create the s3 bucket conditionally. Useful as modules cannot use count parameter"
default = "true"
}