hallowed-tomato-78073
10/08/2021, 4:14 AMaws-native
package in typescript to create an Amazon Managed Prometheus workspace, and running into the following error when running `pulumi up`:
error: could not get AWS account ID: operation error STS: GetCallerIdentity, exceeded maximum number of attempts, 3, failed to sign request: failed to retrieve credentials: no EC2 IMDS role found, operation error ec2imds: GetMetadata, exceeded maximum number of attempts, 3, request send failed, Get "<http://X/latest/meta-data/iam/security-credentials/>": dial tcp X:80: connect: host is down
In the Pulumi.yaml file, aws:profile: Y
and aws-native:profile: Y
are both set.
If I remove the code that uses aws-native
, keeping only the aws
code, the error does not appear and the update works as expected.
Any advice/tips/etc… appreciated!sparse-park-68967
10/08/2021, 3:08 PMhallowed-tomato-78073
10/09/2021, 5:23 AMsparse-park-68967
10/11/2021, 6:32 PM