Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

add grafana terraform definition and comment for accessing key #287

Closed
wants to merge 19 commits into from
Closed
Prev Previous commit
add data
  • Loading branch information
r33drichards committed Feb 11, 2025
commit 7c53ac36e860c6bbc7f268418a8079ad36d95195
5 changes: 4 additions & 1 deletion terraform/grafana/main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,9 @@ terraform {
}
}

data "google_client_config" "default" {}


variable "prefix" {
type = string
default = "e2b-"
Expand Down Expand Up @@ -60,7 +63,7 @@ resource "grafana_cloud_stack" "e2b_stack" {
}

data "google_secret_manager_secret_version" "grafana_username" {
secret = var.username_secret_name
secret = "e2b-grafana-username"
project = var.project
}

Expand Down