File tree Expand file tree Collapse file tree 2 files changed +8
-2
lines changed Expand file tree Collapse file tree 2 files changed +8
-2
lines changed Original file line number Diff line number Diff line change @@ -38,8 +38,8 @@ Assign the Composer Worker (composer.worker) role.
3838Assign the Service Account User (iam.serviceAccountUser) role
3939***/
4040resource "google_service_account" "composer_sa" {
41- account_id = " composer-sa "
42- display_name = " composer-sa "
41+ account_id = var . composer_sa_name
42+ display_name = var . composer_sa_name
4343 project = var. service_project_id
4444}
4545
Original file line number Diff line number Diff line change @@ -77,3 +77,9 @@ variable "dns_zone_name" {
7777 type = string
7878 default = " composer-google-cloud-dns"
7979}
80+
81+ variable "composer_sa_name" {
82+ description = " Service Account name to be used for running Cloud Composer Environment."
83+ type = string
84+ default = " composer-sa"
85+ }
You can’t perform that action at this time.
0 commit comments