Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

aws-cloudfront-invalidate got error IncompleteSignature

Hiroki Shiotsuka December 20, 2022
  • the version of the pipe
    atlassian/aws-cloudfront-invalidate:0.6.0
  • relevant logs and error messages
    ERROR: Error creating a cloudfront invalidation
    ✖ Failed to create a cloudfront invalidation: An error occurred (IncompleteSignature) when calling the CreateInvalidation operation: 'AKIA4LZ7CWVXOKZ3RLXH/20221221/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/20221221/us-east-1/cloudfront/aws4_request, SignedHeaders=host;x-amz-date, Signature=9049558d7c9cb5c790b5cc51638a91add394d385128dae6e37300bae62680891'.
  • steps to reproduce
    - pipe: atlassian/aws-cloudfront-invalidate:0.6.0
    variables:
    AWS_ACCESS_KEY_ID: $AWS_ACCESS_KEY_ID
    AWS_SECRET_ACCESS_KEY: $AWS_SECRET_ACCESS_KEY
    AWS_DEFAULT_REGION: 'us-east-1'
    DISTRIBUTION_ID: '{my-distribution-id}'
    PATHS: '/*'

    Please help.

1 answer

0 votes
Igor Stoyanov
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
December 23, 2022

@Hiroki Shiotsuka  hi. Thanks for your question. Please, check this issue.

Maybe there is a whitespace in the KEY value.

 

Seems like the same problem here.

 

Regards, Igor

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
TAGS
AUG Leaders

Atlassian Community Events