Skip to content

Commit

Permalink
[tf][gcp] small fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
sherry-x authored and aptos-bot committed Apr 5, 2022
1 parent bd76805 commit bedc99f
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 7 deletions.
2 changes: 1 addition & 1 deletion terraform/fullnode/gcp/auth.tf
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ resource "google_project_iam_member" "gke-monitoring" {
}

resource "google_project_iam_custom_role" "k8s-debugger" {
role_id = "container.debugger"
role_id = "container.debugger.${terraform.workspace}"
title = "Kubernetes Engine Debugger"
description = "Additional permissions to debug Kubernetes Engine workloads"
permissions = [
Expand Down
2 changes: 1 addition & 1 deletion terraform/fullnode/gcp/kubernetes.tf
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ provider "helm" {
resource "helm_release" "fullnode" {
count = var.num_fullnodes
name = "${terraform.workspace}${count.index}"
chart = var.helm_chart
chart = "${path.module}/../../helm/fullnode"
max_history = 100
wait = false
namespace = var.k8s_namespace
Expand Down
5 changes: 0 additions & 5 deletions terraform/fullnode/gcp/variables.tf
Original file line number Diff line number Diff line change
Expand Up @@ -13,11 +13,6 @@ variable "zone" {
type = string
}

variable "helm_chart" {
description = "Path to aptos-fullnode Helm chart file"
default = "../../helm/fullnode"
}

variable "helm_values" {
description = "Map of values to pass to Helm"
type = any
Expand Down

0 comments on commit bedc99f

Please sign in to comment.