Skip to content

Commit

Permalink
Allow multiple SAs to control DNS zone relaycorp.services
Browse files Browse the repository at this point in the history
  • Loading branch information
gnarea committed Jan 15, 2024
1 parent ce16774 commit f73a5bf
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tf-modules/environment_workspace/gcp.tf
Original file line number Diff line number Diff line change
Expand Up @@ -40,10 +40,10 @@ resource "google_project_iam_binding" "tfe_owner" {
members = ["serviceAccount:${google_service_account.tfe.email}"]
}

resource "google_project_iam_binding" "tfe_shared_dns" {
resource "google_project_iam_member" "tfe_shared_dns" {
project = var.shared_infra_gcp_project_id
role = "roles/dns.admin"
members = ["serviceAccount:${google_service_account.tfe.email}"]
member = "serviceAccount:${google_service_account.tfe.email}"
}

resource "google_service_account_key" "tfe" {
Expand Down

0 comments on commit f73a5bf

Please sign in to comment.