atlassian/aws-cloudfront-invalidate:0.6.0
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'.
- 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.
@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
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.