rhythmic-traffic-52280
02/23/2023, 10:04 AMDiagnostics:
aws:acm:Certificate (ssl-cert):
error: unable to validate AWS credentials.
Details: no valid credential sources for Pulumi AWS Classic found.
Please see <https://www.pulumi.com/registry/packages/aws/installation-configuration/>
for more information about providing credentials.
Error: failed to refresh cached credentials, no EC2 IMDS role found, operation error ec2imds: GetMetadata, request send failed, Get "<http://169.254.169.254/latest/meta-data/iam/security-credentials/>": dial tcp 169.254.169.254:80: i/o timeout
Make sure you have set your AWS region, e.g. `pulumi config set aws:region us-west-2`.
Any ideas what could be the issue here?us-east-1
. I need to give it the aws-profile of my stack-config:
const awsConfig = new pulumi.Config('aws');
const awsProfile = awsConfig.get('profile');
const awsUsEast1 = new aws.Provider('aws-provider-us-east-1', {
region: 'us-east-1',
profile: awsProfile,
});
Would be great to mention this in the "Configuring AWS API Gateway" guide to spare some debugging time for others 😉