Skip to content

Commit dc545cb

Browse files
add project id var for mimir gcp tf
1 parent 03bd773 commit dc545cb

File tree

3 files changed

+7
-2
lines changed

3 files changed

+7
-2
lines changed

mimir/terraform/gcp/deps.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ apiVersion: plural.sh/v1alpha1
22
kind: Dependencies
33
metadata:
44
description: mimir gcp setup
5-
version: 0.1.1
5+
version: 0.1.2
66
spec:
77
dependencies:
88
- name: gcp-bootstrap

mimir/terraform/gcp/terraform.tfvars

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,4 +3,5 @@ cluster_name = {{ .Cluster | quote }}
33
mimir_blocks_bucket = {{ .Values.mimirBlocksBucket | quote }}
44
mimir_alert_bucket = {{ .Values.mimirAlertBucket | quote }}
55
mimir_ruler_bucket = {{ .Values.mimirRulerBucket | quote }}
6-
bucket_location = {{ .Context.BucketLocation | quote }}
6+
bucket_location = {{ .Context.BucketLocation | quote }}
7+
project_id = {{ .Project | quote }}

mimir/terraform/gcp/variables.tf

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,10 @@ variable "cluster_name" {
77
type = string
88
}
99

10+
variable "project_id" {
11+
type = string
12+
}
13+
1014
variable "mimir_serviceaccount" {
1115
type = string
1216
default = "mimir"

0 commit comments

Comments
 (0)