Skip to content

ServiceAccount

Google Cloud Service Account

resource "google_project" "name" {
service_account "name" {
...
}
}
Attribute Description
Name name required


type: string
The name of the service account.
service_account "name" {
...
}
Roles roles

type: []string
The roles that will be assigned to the service account.
roles = ["Owner"]
Email email

type: string
Output parameters
Key key

type: string

These attributes are computed when the config is parsed and applied, and are therefore only known at parsetime or runtime.

Attribute Description