plain-stone-38054
10/22/2023, 11:03 PMpulumi config set aws:region us-west-2
.
Amazon Web Services, Inc.
Access Management- AWS Identity and Access Management (IAM) - AWS
Access management for AWS services and resources. Manage fine-grained permissions and analyze access to refine permissions.Where as I have AWS credentials is configured but still getting the same error message for Java
Where as I have AWS credentials is configured but still getting the same error message for Java
Thank you all for your help in advance.clever-sunset-76585
10/23/2023, 3:21 AMWhere as I have AWS credentials is configured but still getting the same error message for JavaNot 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?plain-stone-38054
10/23/2023, 10:56 AMclever-sunset-76585
10/23/2023, 11:35 AMerror: rpc error: code = Unknown desc = unable to validate AWS credentials.
dial tcp: lookup sts.us-east-1.amazonaws.com: i/o timeoutI 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.