GetDefaultServiceAccount

Use this data source to retrieve default service account for this project

Using GetDefaultServiceAccount

function getDefaultServiceAccount(args: GetDefaultServiceAccountArgs, opts?: InvokeOptions): Promise<GetDefaultServiceAccountResult>
function  get_default_service_account(project=None, opts=None)
func GetDefaultServiceAccount(ctx *Context, args *GetDefaultServiceAccountArgs, opts ...InvokeOption) (*GetDefaultServiceAccountResult, error)
public static class GetDefaultServiceAccount {
    public static Task<GetDefaultServiceAccountResult> InvokeAsync(GetDefaultServiceAccountArgs args, InvokeOptions? opts = null)
}

The following arguments are supported:

Project string

The project ID. If it is not provided, the provider project is used.

Project string

The project ID. If it is not provided, the provider project is used.

project string

The project ID. If it is not provided, the provider project is used.

project str

The project ID. If it is not provided, the provider project is used.

GetDefaultServiceAccount Result

The following output properties are available:

DisplayName string

The display name for the service account.

Email string

Email address of the default service account used by VMs running in this project

Id string

The provider-assigned unique ID for this managed resource.

Name string

The fully-qualified name of the service account.

Project string
UniqueId string

The unique id of the service account.

DisplayName string

The display name for the service account.

Email string

Email address of the default service account used by VMs running in this project

Id string

The provider-assigned unique ID for this managed resource.

Name string

The fully-qualified name of the service account.

Project string
UniqueId string

The unique id of the service account.

displayName string

The display name for the service account.

email string

Email address of the default service account used by VMs running in this project

id string

The provider-assigned unique ID for this managed resource.

name string

The fully-qualified name of the service account.

project string
uniqueId string

The unique id of the service account.

display_name str

The display name for the service account.

email str

Email address of the default service account used by VMs running in this project

id str

The provider-assigned unique ID for this managed resource.

name str

The fully-qualified name of the service account.

project str
unique_id str

The unique id of the service account.

Package Details

Repository
https://github.com/pulumi/pulumi-gcp
License
Apache-2.0
Notes
This Pulumi package is based on the google-beta Terraform Provider.