Skip to content

Commit

Permalink
fix: default sa deprivilege
Browse files Browse the repository at this point in the history
  • Loading branch information
bharathkkb committed Mar 31, 2021
1 parent b86457c commit ea5fcc2
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 9 deletions.
16 changes: 8 additions & 8 deletions 1-org/envs/shared/projects.tf
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ module "org_audit_logs" {
version = "~> 10.0"
random_project_id = "true"
impersonate_service_account = var.terraform_service_account
default_service_account = "depriviledge"
default_service_account = "deprivilege"
name = "${var.project_prefix}-c-logging"
org_id = var.org_id
billing_account = var.billing_account
Expand All @@ -49,7 +49,7 @@ module "org_billing_logs" {
version = "~> 10.0"
random_project_id = "true"
impersonate_service_account = var.terraform_service_account
default_service_account = "depriviledge"
default_service_account = "deprivilege"
name = "${var.project_prefix}-c-billing-logs"
org_id = var.org_id
billing_account = var.billing_account
Expand Down Expand Up @@ -79,7 +79,7 @@ module "org_secrets" {
version = "~> 10.1"
random_project_id = "true"
impersonate_service_account = var.terraform_service_account
default_service_account = "depriviledge"
default_service_account = "deprivilege"
name = "${var.project_prefix}-c-secrets"
org_id = var.org_id
billing_account = var.billing_account
Expand Down Expand Up @@ -109,7 +109,7 @@ module "interconnect" {
version = "~> 10.1"
random_project_id = "true"
impersonate_service_account = var.terraform_service_account
default_service_account = "depriviledge"
default_service_account = "deprivilege"
name = "${var.project_prefix}-c-interconnect"
org_id = var.org_id
billing_account = var.billing_account
Expand Down Expand Up @@ -139,7 +139,7 @@ module "scc_notifications" {
version = "~> 10.1"
random_project_id = "true"
impersonate_service_account = var.terraform_service_account
default_service_account = "depriviledge"
default_service_account = "deprivilege"
name = "${var.project_prefix}-c-scc"
org_id = var.org_id
billing_account = var.billing_account
Expand Down Expand Up @@ -169,7 +169,7 @@ module "dns_hub" {
version = "~> 10.1"
random_project_id = "true"
impersonate_service_account = var.terraform_service_account
default_service_account = "depriviledge"
default_service_account = "deprivilege"
name = "${var.project_prefix}-c-dns-hub"
org_id = var.org_id
billing_account = var.billing_account
Expand Down Expand Up @@ -208,7 +208,7 @@ module "base_network_hub" {
count = var.enable_hub_and_spoke ? 1 : 0
random_project_id = "true"
impersonate_service_account = var.terraform_service_account
default_service_account = "depriviledge"
default_service_account = "deprivilege"
name = "${var.project_prefix}-c-base-net-hub"
org_id = var.org_id
billing_account = var.billing_account
Expand Down Expand Up @@ -247,7 +247,7 @@ module "restricted_network_hub" {
count = var.enable_hub_and_spoke ? 1 : 0
random_project_id = "true"
impersonate_service_account = var.terraform_service_account
default_service_account = "depriviledge"
default_service_account = "deprivilege"
name = "${var.project_prefix}-c-restricted-net-hub"
org_id = var.org_id
billing_account = var.billing_account
Expand Down
2 changes: 1 addition & 1 deletion 2-environments/modules/env_baseline/secrets.tf
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ module "env_secrets" {
version = "~> 10.1"
random_project_id = "true"
impersonate_service_account = var.terraform_service_account
default_service_account = "depriviledge"
default_service_account = "deprivilege"
name = "${var.project_prefix}-${var.environment_code}-secrets"
org_id = var.org_id
billing_account = var.billing_account
Expand Down

0 comments on commit ea5fcc2

Please sign in to comment.