Update main.tf (#213)

This commit is contained in:
Ludovico Magnocavallo
2021-03-20 12:56:11 +01:00
committed by GitHub
parent 2916f4e078
commit 3155bd7349

View File

@@ -61,7 +61,10 @@ locals {
? var.service_account_scopes
: (
var.service_account_create
? ["https://www.googleapis.com/auth/cloud-platform"]
? [
"https://www.googleapis.com/auth/cloud-platform",
"https://www.googleapis.com/auth/userinfo.email"
]
: [
"https://www.googleapis.com/auth/devstorage.read_only",
"https://www.googleapis.com/auth/logging.write",