Skip to content

Commit

Permalink
add project id var for mimir gcp tf
Browse files Browse the repository at this point in the history
  • Loading branch information
michaeljguarino committed Nov 16, 2023
1 parent 03bd773 commit dc545cb
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 2 deletions.
2 changes: 1 addition & 1 deletion mimir/terraform/gcp/deps.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ apiVersion: plural.sh/v1alpha1
kind: Dependencies
metadata:
description: mimir gcp setup
version: 0.1.1
version: 0.1.2
spec:
dependencies:
- name: gcp-bootstrap
Expand Down
3 changes: 2 additions & 1 deletion mimir/terraform/gcp/terraform.tfvars
Original file line number Diff line number Diff line change
Expand Up @@ -3,4 +3,5 @@ cluster_name = {{ .Cluster | quote }}
mimir_blocks_bucket = {{ .Values.mimirBlocksBucket | quote }}
mimir_alert_bucket = {{ .Values.mimirAlertBucket | quote }}
mimir_ruler_bucket = {{ .Values.mimirRulerBucket | quote }}
bucket_location = {{ .Context.BucketLocation | quote }}
bucket_location = {{ .Context.BucketLocation | quote }}
project_id = {{ .Project | quote }}
4 changes: 4 additions & 0 deletions mimir/terraform/gcp/variables.tf
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,10 @@ variable "cluster_name" {
type = string
}

variable "project_id" {
type = string
}

variable "mimir_serviceaccount" {
type = string
default = "mimir"
Expand Down

0 comments on commit dc545cb

Please sign in to comment.