account

account: pulumi.Output<string>

AWS account ID resolved through the default AWS provider.

Remarks

Import this constant from @jobcloud/pulumi-helpers/runtime in a Pulumi program with a configured default AWS provider; importing that subpath starts the provider lookup.

The configured credentials must be able to call AWS STS GetCallerIdentity.

Type

pulumi.Output<string>

Example

CODE
import { account } from '@jobcloud/pulumi-helpers/runtime';

account.apply((accountId) => console.log(accountId));