I'm getting an error ```error: unable to validate ...
# general
I'm getting an error
Copy code
error: unable to validate AWS credentials.
    Details: error validating provider credentials: error calling sts:GetCallerIdentity: operation error STS: GetCallerIdentity, exceeded maximum number of attempts, 3, https response error StatusCode: 0, RequestID: , request send failed, Post "<https://sts.ap-southeast-1.amazonaws.com/>": dial tcp: lookup <http://sts.ap-southeast-1.amazonaws.com|sts.ap-southeast-1.amazonaws.com> on read udp> i/o timeout
    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`.
My aws credentials are properly configured and working in the shell using
aws sts get-caller-identity --profile MYPROFILE
Can you please show your provider code, or stack config if using the default provider?
@cuddly-computer-18851 sure, I'm using the default provider. I've made no changes since yesterday when this was working. Here's my
file with some redactions
Copy code
  aws:profile: 12345_AWSAdministratorAccess
  aws:region: ap-southeast-1
  xxx-onsite-payment-app:aws_account_id: "12345"
  xxx-onsite-payment-app:aws_route53_zoneid: Z0xxxxxPEXY1
  xxx-onsite-payment-app:dns_domain: <http://xxx.xxx.io|xxx.xxx.io>
  xxx-onsite-payment-app:dns_subdomain: develop
  xxx-onsite-payment-app:protect_dynamodb_tables: false # currently not working
are you using an ec2 instance profile for this role?
Copy code
Post "<https://sts.ap-southeast-1.amazonaws.com/>": dial tcp: lookup <http://sts.ap-southeast-1.amazonaws.com|sts.ap-southeast-1.amazonaws.com> on read udp> i/o timeout
actually this kind of just looks like a local connection issue - reboot, check for any firewall changes etc?
No, just normal credentials
Yep, it's working now. Not sure why aws CLI would work but Pulumi doesn't work. False alarm, still not working. I'll try rebooting the laptop.
aws sts get-caller-identity --profile 12345_AWSAdministratorAccess
is still working fine
My internet went down shortly after my last message so was unable to test. Trying again this morning
It's working again. Seems not unlikely that it was internet related. Like the connection was beginning to drop out or something.
We just opened an issue on this, can you upvote and add any additional pertinent information about what you were seeing? https://github.com/pulumi/pulumi-aws/issues/3023