From c8958c548f19b1dbcdcfb33dd3076c6a208f3f3b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Andras=20Gy=C3=B6mrey?= Date: Wed, 25 Nov 2020 17:32:53 +0100 Subject: [PATCH] monitoring is automatically enabled when monitoring.writer is enabled (#177) --- modules/gke-nodepool/main.tf | 1 + tests/modules/gke_nodepool/test_plan.py | 1 + 2 files changed, 2 insertions(+) diff --git a/modules/gke-nodepool/main.tf b/modules/gke-nodepool/main.tf index fdfb77bd8..81d711622 100644 --- a/modules/gke-nodepool/main.tf +++ b/modules/gke-nodepool/main.tf @@ -33,6 +33,7 @@ locals { : [ "https://www.googleapis.com/auth/devstorage.read_only", "https://www.googleapis.com/auth/logging.write", + "https://www.googleapis.com/auth/monitoring", "https://www.googleapis.com/auth/monitoring.write" ] ) diff --git a/tests/modules/gke_nodepool/test_plan.py b/tests/modules/gke_nodepool/test_plan.py index 1a71b4d49..a1f8872ed 100644 --- a/tests/modules/gke_nodepool/test_plan.py +++ b/tests/modules/gke_nodepool/test_plan.py @@ -22,6 +22,7 @@ OAUTH_SCOPE = ['https://www.googleapis.com/auth/cloud-platform'] OAUTH_SCOPES = [ 'https://www.googleapis.com/auth/devstorage.read_only', 'https://www.googleapis.com/auth/logging.write', + 'https://www.googleapis.com/auth/monitoring', 'https://www.googleapis.com/auth/monitoring.write']