You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: modules/asm/README.md
+2-1Lines changed: 2 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -61,9 +61,10 @@ To deploy this config:
61
61
| enable\_cluster\_roles | Sets `--enable_cluster_roles` option if true. |`bool`|`false`| no |
62
62
| enable\_gcp\_apis | Sets `--enable_gcp_apis` option if true. |`bool`|`false`| no |
63
63
| enable\_gcp\_components | Sets --enable\_gcp\_components option if true. Can be true or false. Available versions are documented in https://github.com/GoogleCloudPlatform/anthos-service-mesh-packages|`bool`|`false`| no |
64
-
| enable\_gcp\_iam\_roles |Sets `--enable_gcp_iam_roles` option if true. |`bool`|`false`| no |
64
+
| enable\_gcp\_iam\_roles |Grants IAM roles required for ASM if true. If enable\_gcp\_iam\_roles, one of impersonate\_service\_account, service\_account, or iam\_member must be set. |`bool`|`false`| no |
65
65
| enable\_registration | Sets `--enable_registration` option if true. |`bool`|`false`| no |
66
66
| gcloud\_sdk\_version | The gcloud sdk version to use. Minimum required version is 293.0.0 |`string`|`"296.0.1"`| no |
67
+
| iam\_member | The GCP member email address to grant IAM roles to. If impersonate\_service\_account or service\_account is set, roles are granted to that SA. |`string`|`""`| no |
67
68
| impersonate\_service\_account | An optional service account to impersonate for gcloud commands. If this service account is not specified, the module will use Application Default Credentials. |`string`|`""`| no |
68
69
| key\_file | The GCP Service Account credentials file path used to deploy ASM. |`string`|`""`| no |
69
70
| location | The location (zone or region) this cluster has been created in. |`string`| n/a | yes |
Copy file name to clipboardExpand all lines: modules/asm/variables.tf
+7-1Lines changed: 7 additions & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -136,7 +136,7 @@ variable "enable_gcp_apis" {
136
136
}
137
137
138
138
variable"enable_gcp_iam_roles" {
139
-
description="Sets `--enable_gcp_iam_roles` option if true."
139
+
description="Grants IAM roles required for ASM if true. If enable_gcp_iam_roles, one of impersonate_service_account, service_account, or iam_member must be set."
140
140
type=bool
141
141
default=false
142
142
}
@@ -176,3 +176,9 @@ variable "ca_certs" {
176
176
# "cert_chain" = "none"
177
177
# }
178
178
}
179
+
180
+
variable"iam_member" {
181
+
description="The GCP member email address to grant IAM roles to. If impersonate_service_account or service_account is set, roles are granted to that SA."
0 commit comments