narrow-barista-48437
09/28/2022, 5:45 PMpulumi up
on a stack.
pulumi preview
runs with no problem.
I'm dealing with this problem for days, since migrate to new macbook.
Did a lot of tests and reinstalls (pulumi, awscli, ...) and the error persists the same.
Finally I made a total fresh install (format) on the new macbook with just the minimal requirements to run the project.
Still got same multiple errors, like below:
...
error: Running program 'my-project' failed with an unhandled exception:
Error: invocation of aws:index/getPartition:getPartition returned an error: unable to validate AWS credentials. Make sure you have:
• Set your AWS region, e.g. `pulumi config set aws:region us-west-2`
• Configured your AWS credentials as per <https://pulumi.io/install/aws.html>
You can also set these via cli using `aws configure`.
...
error: Running program 'my-project' failed with an unhandled exception:
Error: invocation of aws:index/getRegion:getRegion returned an error: unable to validate AWS credentials. Make sure you have:
• Set your AWS region, e.g. `pulumi config set aws:region us-west-2`
• Configured your AWS credentials as per <https://pulumi.io/install/aws.html>
You can also set these via cli using `aws configure`.
...
Other times it shows:
...
error: Error: invocation of aws:index/getCallerIdentity:getCallerIdentity returned an error: invoking aws:index/getCallerIdentity:getCallerIdentity: 1 error occurred:
* getting Caller Identity: RequestError: send request failed
caused by: Post "<https://sts.amazonaws.com/>": dial tcp: lookup <http://sts.amazonaws.com|sts.amazonaws.com> on [fe80::1272:23ff:fe1d:5731%en0]:53: no such host
...
Everything runs nice on other machines, even at the ci/cd (github actions).
I don't know more what can I do.
Pls any help would be appreciated.billowy-army-68599
09/28/2022, 7:02 PMaws sts get-caller-identity
?narrow-barista-48437
09/28/2022, 8:48 PM{
"UserId": "*****",
"Account": "******",
"Arn": "arn:aws:iam::******:user/******"
}
billowy-army-68599
09/28/2022, 11:24 PMnarrow-barista-48437
09/28/2022, 11:32 PMmammoth-camera-90962
10/05/2022, 1:57 AMnarrow-barista-48437
10/05/2022, 9:40 PM