google-cloud: Remove unused service accounts
This commit is contained in:
parent
fb5f63c8be
commit
663f37ed6d
|
@ -66,15 +66,6 @@ resource "google_compute_instance_template" "controller" {
|
||||||
|
|
||||||
can_ip_forward = true
|
can_ip_forward = true
|
||||||
|
|
||||||
service_account {
|
|
||||||
scopes = [
|
|
||||||
"storage-ro",
|
|
||||||
"compute-rw",
|
|
||||||
"datastore",
|
|
||||||
"userinfo-email",
|
|
||||||
]
|
|
||||||
}
|
|
||||||
|
|
||||||
lifecycle {
|
lifecycle {
|
||||||
# To update an Instance Template, Terraform should replace the existing resource
|
# To update an Instance Template, Terraform should replace the existing resource
|
||||||
create_before_destroy = true
|
create_before_destroy = true
|
||||||
|
|
|
@ -66,15 +66,6 @@ resource "google_compute_instance_template" "worker" {
|
||||||
|
|
||||||
can_ip_forward = true
|
can_ip_forward = true
|
||||||
|
|
||||||
service_account {
|
|
||||||
scopes = [
|
|
||||||
"storage-ro",
|
|
||||||
"compute-rw",
|
|
||||||
"datastore",
|
|
||||||
"userinfo-email",
|
|
||||||
]
|
|
||||||
}
|
|
||||||
|
|
||||||
tags = ["worker"]
|
tags = ["worker"]
|
||||||
|
|
||||||
lifecycle {
|
lifecycle {
|
||||||
|
|
Loading…
Reference in New Issue