Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

aws-cloudformation stack does not work s3deploy works with same credentials

Yadvendra_Singh November 5, 2019 edited

following pipe fails

script: - pipe: atlassian/aws-cloudformation-deploy:0.6.2 variables: AWS_ACCESS_KEY_ID: $AWS_ACCESS_KEY_ID AWS_SECRET_ACCESS_KEY: $AWS_SECRET_ACCESS_KEY AWS_DEFAULT_REGION: $AWS_DEFAULT_REGION STACK_NAME: 'test-bgs-stack' TEMPLATE: 'stack_template.json' DEBUG: 'true'

with error 

"An error occurred (IncompleteSignature) when calling the ValidateTemplate operation: 'AKIAXZ4H3HK2SO5MAVNR' not a valid key=value pair (missing equal-sign) in Authorization header: 'AWS4-HMAC-SHA256 Credential= AKIAXZ4H3HK2SO5MAVNR /20191105/eu-west-1/cloudformation/aws4_request, SignedHeaders=content-type;host;x-amz-date, Signature=3890668e239dd99d14bf86db65b25f27edc8e0c1acb5d0ea80f4d2030cfc714f'."

but below pipe works

- pipe: atlassian/aws-s3-deploy:0.3.5 variables: AWS_ACCESS_KEY_ID: $AWS_ACCESS_KEY_ID AWS_SECRET_ACCESS_KEY: $AWS_SECRET_ACCESS_KEY AWS_DEFAULT_REGION: $AWS_DEFAULT_REGION S3_BUCKET: $S3_BUCKET_NEWCF LOCAL_PATH: "dist/newApp/" ACL: 'public-read-write' DELETE_FLAG: 'true'

template used

"myS3Bucket" : {
"Type" : "AWS::S3::Bucket"
}

 

1 answer

0 votes
Yadvendra_Singh November 5, 2019 edited

--

Suggest an answer

Log in or Sign up to answer
TAGS
atlassian, jira cloud certification, managing jira projects, jira project administration, jira cloud exam, atlassian certification, agile project management, jira workflows, jira permissions, jira training, jira cloud skills, atlassian learning

Become a Certified Jira Service Project Expert 🦸🏻‍♂️

Validate your expertise in managing Jira Service Projects for Cloud. Master configuration, optimize workflows, and manage users seamlessly. Earn global 🗺️ recognition and advance your career as a trusted Jira Service management expert.

Get Certified! ✍️
AUG Leaders

Atlassian Community Events