-
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathvariables.tf
52 lines (43 loc) · 1.37 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
# Input Variables
# https://www.terraform.io/language/values/variables
variable "default_kms_key_name" {
description = "The name of the Cloud KMS key that will be used to encrypt objects inserted into this bucket"
type = string
default = null
}
variable "force_destroy" {
description = "When deleting a bucket, this boolean option will delete all contained objects"
type = bool
default = false
}
variable "labels" {
description = "A map of key/value pairs to assign to the resources being created"
type = map(string)
default = {}
}
variable "location" {
description = "The location the storage bucket will be created in"
type = string
}
variable "name" {
description = "The name of the storage bucket"
}
variable "project" {
description = "The ID of the project in which the resource belongs"
type = string
}
variable "public_access_prevention" {
description = "The public access prevention configuration for the bucket"
type = string
default = "enforced"
}
variable "storage_class" {
description = "The Storage Class of the new bucket. Supported values include: STANDARD, MULTI_REGIONAL, REGIONAL, NEARLINE, COLDLINE, ARCHIVE"
type = string
default = "STANDARD"
}
variable "versioning" {
description = "The bucket's Versioning configuration"
type = bool
default = true
}