Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in
Deleted user
0 / 0 points
Next:
badges earned

Your Points Tracker
Challenges
Leaderboard
  • Global
  • Feed

Badge for your thoughts?

You're enrolled in our new beta rewards program. Join our group to get the inside scoop and share your feedback.

Join group
Recognition
Give the gift of kudos
You have 0 kudos available to give
Who do you want to recognize?
Why do you want to recognize them?
Kudos
Great job appreciating your peers!
Check back soon to give more kudos.

Past Kudos Given
No kudos given
You haven't given any kudos yet. Share the love above and you'll see it here.

It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

Cloudfront Invalidation Pipe Error

I'm getting an error when trying to use the Cloudfront Invalidation Pipe. I have my AWS Credentials setup and manage to sync to S3 in the previous step of the pipeline. Can anyone help me? I'm using the latest version of the pipe 0.1.3

 

Error:

ERROR: Error creating a cloudfront invalidation✖ Failed to create a cloudfront invalidation: An error occurred (IncompleteSignature) when calling the CreateInvalidation operation: 'XXXXXXXXXXXXX/20191121/us-east-1/cloudfront/aws4_request' not a valid key=value pair (missing equal-sign) in Authorization header: 'AWS4-HMAC-SHA256 Credential=$AWS_ACCESS_KEY_ID/20191121/us-east-1/cloudfront/aws4_request, SignedHeaders=host;x-amz-date, Signature=0d71b49e354f94ad6de497d232e1262f6349d08e9288404dff167d2b7a06995e'. 

 

3 answers

Same issue with 0.1.4 ;)

Has there been any update on this? Still getting this issue.

`atlassian/aws-cloudfront-invalidate:0.2.0` and I'm still getting it.

Looks like it's an upstream issue. Tried to install latest version of `aws-cli` and create invalidation directly, and got the same error:

$ aws --version
aws-cli/1.17.7 Python/3.4.3 Linux/4.19.78-coreos botocore/1.14.7
$ aws cloudfront create-invalidation --region='us-east-1' --distribution-id XXX --paths "/*"$
An error occurred (IncompleteSignature) when calling the CreateInvalidation operation: 'XXX/us-east-1/cloudfront/aws4_request' not a valid key=value pair (missing equal-sign) in Authorization header

The same command with the same version of cli and botocore works perfectly on my local machine running Python 3.7.

Ah, found the problem. In my repository variables, the value of `AWS_ACCESS_KEY_ID`, had a white space at the start and it was working for the entire pipeline stack (I assume they were trimming it), except this one. Removing the white space solved the problem on my `aws cli` example and reverting back to use `atlassian/aws-cloudfront-invalidate:0.2.0` confirmed it's working.

Like # people like this

Suggest an answer

Log in or Sign up to answer
TAGS
Community showcase

All you wanted to know about customer support KPIs

When working in customer support, it’s crucial to calculate, analyze and monitor specific numbers, called KPIs (Key Performance Indicators). They go hand-in-hand with customer satisfaction, problem d...

122 views 1 5
Read article

Community Events

Connect with like-minded Atlassian users at free events near you!

Find an event

Connect with like-minded Atlassian users at free events near you!

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you