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']