Skip to content

Commit

Permalink
fix/unexpected argument load_config_file and unsupported block type r…
Browse files Browse the repository at this point in the history
…equests (sethvargo#93)

* fix  argument named load_config_file is not expected here

* fix unsupported block type requests error
  • Loading branch information
stevenaldinger authored Feb 4, 2021
1 parent 7bb2032 commit aa2b40c
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions terraform/k8s.tf
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,7 @@ data "google_client_config" "current" {}

# This file contains all the interactions with Kubernetes
provider "kubernetes" {
load_config_file = false
host = google_container_cluster.vault.endpoint
host = google_container_cluster.vault.endpoint

cluster_ca_certificate = base64decode(
google_container_cluster.vault.master_auth[0].cluster_ca_certificate,
Expand Down Expand Up @@ -107,7 +106,7 @@ resource "kubernetes_stateful_set" "vault" {
image_pull_policy = "IfNotPresent"

resources {
requests {
requests = {
cpu = "100m"
memory = "64Mi"
}
Expand Down Expand Up @@ -165,7 +164,7 @@ resource "kubernetes_stateful_set" "vault" {
}

resources {
requests {
requests = {
cpu = "500m"
memory = "256Mi"
}
Expand Down

0 comments on commit aa2b40c

Please sign in to comment.