square-hair-965
09/27/2022, 9:21 PMconst account = aws.getCallerIdentity({});
const accountId = pulumi.output(account).apply(acc => `${acc.accountId}`);
Seems like checking that account id against a config value would do it but it's not that straight forward with how pulumi plansstocky-restaurant-98004
09/27/2022, 10:18 PMallowedAccountIds
or forbiddenAccountIds
in the AWS provider: https://www.pulumi.com/registry/packages/aws/installation-configuration/#configuration-options