This message was deleted.
# getting-started
s
This message was deleted.
c
Where as I have AWS credentials is configured but still getting the same error message for Java
Not sure how you've configured AWS CLI on your machine but can you run
aws sts get-caller-identity
without passing
--profile
and get a successful response? Also have you already followed the setup instructions for the AWS provider to help Pulumi use your AWS credentials?
p
Hi, Thanks for your response, yes I am getting caller identity, but seems the post operation is failing, please see details below: configuring Terraform AWS Provider: validating provider credentials: retrieving caller identity from STS: operation error STS: GetCallerIdentity, https response error StatusCode: 0, RequestID: , request send failed, Post ā€œhttps://sts.us-east-1.amazonaws.com/ā€: dial tcp: lookup sts.us-east-1.amazonaws.com: i/o timeout
c
I missed something in your original message.
error: rpc error: code = Unknown desc = unable to validate AWS credentials.
dial tcp: lookup sts.us-east-1.amazonaws.com: i/o timeout
I don't know what is causing the HTTP request to timeout but that's the source of your problem. I don't know why the provider would have trouble hitting the STS endpoint but then AWS CLI would work. Are you using any sort of a VPN or a corporate proxy? It's hard to say diagnose this via Slack without knowing anything about your environment. Since the issue is really with the provider trying to "validate" the AWS credentials, you can temporarily turn of credential validation with `pulumi config set
aws:skipCredentialsValidation
to
true
or set the env var
AWS_SKIP_CREDENTIALS_VALIDATION
to
true
. However, I don't know if you'll encounter other issues when the AWS provider tries to talk to AWS.