Use profile from aws configuration on Provider
If you're using a non-default profile with this project, your ACM cert will be created using your default profile, which is not expected.
MODIFY
aws-ts-static-website/index.ts
aws-ts-static-website/index.ts
@@ -86,6 +86,7 @@ let certificateArn: pulumi.Input<string> = config.certificateArn!;
if (config.certificateArn === undefined) {
const eastRegion = new aws.Provider("east", {
+ profile: aws.config.profile,
region: "us-east-1", // Per AWS, ACM certificate must be in the us-east-1 region.
});

Use profile from aws configuration on Provider (#300)

If you're using a non-default profile with this project, your ACM cert will be created using your default profile, which is not expected.