breezy-kangaroo-6997
10/23/2023, 10:52 AMerror: rpc error: code = Unknown desc = unable to validate AWS credentials.
Details: no valid credential sources for Pulumi AWS Classic found.
AWS Error: failed to refresh cached credentials, no EC2 IMDS role found, operation error ec2imds: GetMetadata, expect HTTP transport, got <nil>
After i add this
aws:skipMetadataApiCheck: "false"
still the same error
error: rpc error: code = Unknown desc = unable to validate AWS credentials.
Details: no valid credential sources for Pulumi AWS Classic found.
AWS Error: failed to refresh cached credentials, no EC2 IMDS role found, operation error ec2imds: GetMetadata, expect HTTP transport, got <nil>
I try this
aws:skipCredentialsValidation: "true" aws:skipMetadataApiCheck: "false"
but i get this error
aws:iam:Role (AWSLambdaExecutionRole):
error: 1 error occurred:
* configuring Terraform AWS Provider: no valid credential sources for Terraform AWS Provider found.
Please see <https://registry.terraform.io/providers/hashicorp/aws>
for more information about providing credentials.
AWS Error: failed to refresh cached credentials, no EC2 IMDS role found, operation error ec2imds: GetMetadata, expect HTTP transport, got <nil>