terraform-provider-aws icon indicating copy to clipboard operation
terraform-provider-aws copied to clipboard

Hi

Open Teeworks1 opened this issue 2 years ago • 3 comments

Hi i get this error when i run terraform plan: Error: error configuring Terraform AWS Provider: error validating provider credentials: error calling sts:GetCallerIdentity: operation error STS: GetCallerIdentity, https response error StatusCode: 400, RequestID: 73390445-95df-48e8-b897-1e06913a4946, api error IncompleteSignature: '/20220809/us-east-1/sts/aws4_request' not a valid key=value pair (missing equal-sign) in Authorization header: 'AWS4-HMAC-SHA256 Credential=SAKIA5GT5RFZMSQI2BR6V /20220809/us-east-1/sts/aws4_request, SignedHeaders=amz-sdk-invocation-id;amz-sdk-request;content-length;content-type;host;x-amz-date, Signature=a0011c33fdf04a7739ed5ed4421c3ea2ba6ad3f3365cde8d07e7c5c319ed5d3e'.

What am i doing wrong ?

Teeworks1 avatar Aug 09 '22 20:08 Teeworks1

Hey @Teeworks1 👋 Thank you for taking the time to raise this! So that we have all of the necessary information in order to look into this, can you update the issue description to include all of the information requested in the bug report template?

justinretzolk avatar Aug 09 '22 21:08 justinretzolk

Thanks for your email . Am I to fill in all the information as stated in the template ? I’m new on the forum as this is my first day here so I’m really not sure if that’s what yoh want me to do . I can see it’s numbers 1-89. I am trying to create an ec2 server amd when I entered all the required inputs and configuration and executed terraform plan . It displayed that error

On Tue, Aug 9, 2022 at 3:35 PM Justin Retzolk @.***> wrote:

Hey @Teeworks1 https://github.com/Teeworks1 👋 Thank you for taking the time to raise this! So that we have all of the necessary information in order to look into this, can you update the issue description to include all of the information requested in the bug report template https://github.com/hashicorp/terraform-provider-aws/blob/main/.github/ISSUE_TEMPLATE/Bug_Report.md?plain=1 ?

— Reply to this email directly, view it on GitHub https://github.com/hashicorp/terraform-provider-aws/issues/26202#issuecomment-1209918835, or unsubscribe https://github.com/notifications/unsubscribe-auth/A2L74DB6DBLIHZNBPL6JWDLVYLFK5ANCNFSM56CEDLDQ . You are receiving this because you were mentioned.Message ID: @.***>

Teeworks1 avatar Aug 09 '22 21:08 Teeworks1

Activate your AccessKey: https://aws.amazon.com/premiumsupport/knowledge-center/create-access-key/

good92 avatar Aug 10 '22 17:08 good92

@Teeworks1 welcome to the community! 🎉 The template is indeed 89 lines long, but quite a bit of it is notes to help give an idea of the information we're looking for. This information helps us to understand better what is occurring. That said, the error message seems to indicate that there's an issue with the credentials that you provided to the provider, so I'd recommend starting with verifying that you have supplied valid credentials. If you're still having issues at that point, the additional information provided in the template will help us to point you in the right direction.

justinretzolk avatar Aug 23 '22 19:08 justinretzolk

Hi @Teeworks1. Since you haven't responded, I'm going to close this issue. If you're still having trouble, please open a new issue and complete the template

gdavison avatar Mar 21 '23 18:03 gdavison

I'm going to lock this issue because it has been closed for 30 days ⏳. This helps our maintainers find and focus on the active issues. If you have found a problem that seems similar to this, please open a new issue and complete the issue template so we can capture all the details necessary to investigate further.

github-actions[bot] avatar Apr 21 '23 02:04 github-actions[bot]