-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathvariables.tf
More file actions
62 lines (52 loc) · 1.34 KB
/
variables.tf
File metadata and controls
62 lines (52 loc) · 1.34 KB
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
55
56
57
58
59
60
61
62
# ============================================================================
# GCS Bucket - Variables
# ============================================================================
variable "bucket_name" {
description = "Name of the GCS bucket."
type = string
}
variable "project_id" {
description = "GCP project ID."
type = string
default = "portfolio-site"
}
variable "region" {
description = "GCP region."
type = string
default = "us-central1"
}
variable "location" {
description = "GCS bucket location."
type = string
default = "US"
}
variable "storage_class" {
description = "Storage class for the bucket."
type = string
default = "STANDARD"
}
variable "force_destroy" {
description = "Whether to force-destroy the bucket on Terraform destroy."
type = bool
default = false
}
variable "versioning" {
description = "Whether to enable object versioning."
type = bool
default = false
}
variable "labels" {
description = "Additional labels to apply to the bucket."
type = map(string)
default = {}
}
variable "project" {
description = "Project label value."
type = string
default = "portfolio-site"
}
variable "environment" {
description = "Environment label value."
type = string
default = "dev"
}