Last active
June 11, 2024 05:23
-
-
Save glendmaatita/3f116df3cec232ada81f0f5ef6160608 to your computer and use it in GitHub Desktop.
Atlantis
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# in order to be able to run Atlantis: https://www.runatlantis.io/ | |
# https://registry.terraform.io/providers/hashicorp/google/latest/docs/resources/google_service_account | |
resource "google_service_account" "atlantis-sa" { | |
account_id = "atlantis-sa" | |
project = "my-project" | |
} | |
# https://registry.terraform.io/providers/hashicorp/google/latest/docs/resources/google_project_iam | |
resource "google_project_iam_member" "atlantis-im" { | |
project = "my-project" | |
role = "roles/owner" | |
member = "serviceAccount:${google_service_account.atlantis-sa.email}" | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment