From 663f37ed6db73f7b51b6cf18a6be11f15ef49e18 Mon Sep 17 00:00:00 2001 From: Dalton Hubble Date: Wed, 13 Sep 2017 22:14:19 -0700 Subject: [PATCH] google-cloud: Remove unused service accounts --- google-cloud/container-linux/controllers/controllers.tf | 9 --------- google-cloud/container-linux/workers/workers.tf | 9 --------- 2 files changed, 18 deletions(-) diff --git a/google-cloud/container-linux/controllers/controllers.tf b/google-cloud/container-linux/controllers/controllers.tf index 445b1d5d..560f3c9f 100644 --- a/google-cloud/container-linux/controllers/controllers.tf +++ b/google-cloud/container-linux/controllers/controllers.tf @@ -66,15 +66,6 @@ resource "google_compute_instance_template" "controller" { can_ip_forward = true - service_account { - scopes = [ - "storage-ro", - "compute-rw", - "datastore", - "userinfo-email", - ] - } - lifecycle { # To update an Instance Template, Terraform should replace the existing resource create_before_destroy = true diff --git a/google-cloud/container-linux/workers/workers.tf b/google-cloud/container-linux/workers/workers.tf index f72a22bb..659e1963 100644 --- a/google-cloud/container-linux/workers/workers.tf +++ b/google-cloud/container-linux/workers/workers.tf @@ -66,15 +66,6 @@ resource "google_compute_instance_template" "worker" { can_ip_forward = true - service_account { - scopes = [ - "storage-ro", - "compute-rw", - "datastore", - "userinfo-email", - ] - } - tags = ["worker"] lifecycle {