googleAppEngineDefaultServiceAccount
Use this data source to retrieve the default App Engine service account for the specified project.
Example Usage
import * as cdktf from "cdktf";
/*Provider bindings are generated by running cdktf get.
See https://cdk.tf/provider-generation for more details.*/
import * as google from "./.gen/providers/google";
/*The following providers are missing schema information and might need manual adjustments to synthesize correctly: google.
For a more precise conversion please use the --provider flag in convert.*/
const dataGoogleAppEngineDefaultServiceAccountDefault =
new google.dataGoogleAppEngineDefaultServiceAccount.DataGoogleAppEngineDefaultServiceAccount(
this,
"default",
{}
);
new cdktf.TerraformOutput(this, "default_account", {
value: dataGoogleAppEngineDefaultServiceAccountDefault.email,
});
Argument Reference
The following arguments are supported:
project
- (Optional) The project ID. If it is not provided, the provider project is used.
Attributes Reference
The following attributes are exported:
-
email
- Email address of the default service account used by App Engine in this project. -
uniqueId
- The unique id of the service account. -
name
- The fully-qualified name of the service account. -
displayName
- The display name for the service account. -
member
- The Identity of the service account in the formserviceAccount:{email}
. This value is often used to refer to the service account in order to grant IAM permissions.