Skip to content

Commit

Permalink
Downgrade the service account role
Browse files Browse the repository at this point in the history
  • Loading branch information
ranyodh committed Aug 8, 2022
1 parent e805686 commit 1d6b5d5
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion examples/terraform/gcp/modules/common/main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ resource "google_service_account" "default" {
resource "google_project_iam_member" "default" {
project = var.project_id
member = "serviceAccount:${google_service_account.default.email}"
role = "roles/owner"
role = "roles/compute.admin"
}

resource "google_compute_firewall" "common_internal" {
Expand Down
2 changes: 1 addition & 1 deletion examples/terraform/gcp/variables.tf
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ variable "gcp_service_credential" {

variable "vpc_mtu" {
default = 1500
description = "MTU for the VPC. GCP support two MTU values for the VPC: 1440 or 1500"
description = "MTU for the VPC. GCP support two MTU values for the VPC: 1460 or 1500"
}

variable "vpc_cidr" {
Expand Down

0 comments on commit 1d6b5d5

Please sign in to comment.