aws / aws/aws-toolkit-azure-devops

Error Auth AWS Toolkit any task

Open
#502 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
TypeScript
Stars
258
Forks
114
PR merge metrics
No merged PRs in 30d

Description

**Describe the bug**
`2023-02-02T12:55:25.4399356Z ##[section]Starting: Create/Update Stack: api-test-stack
2023-02-02T12:55:25.4406536Z ==============================================================================
2023-02-02T12:55:25.4406711Z Task : AWS CloudFormation Create/Update Stack
2023-02-02T12:55:25.4406831Z Description : Creates a new AWS CloudFormation stack or updates the stack if it exists.
2023-02-02T12:55:25.4406987Z Version : 1.13.0
2023-02-02T12:55:25.4407071Z Author : Amazon Web Services
2023-02-02T12:55:25.4407919Z Help : Please refer to [AWS CloudFormation User Guide](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/) for more details on working with AWS CloudFormation.

More information on this task can be found in the [task reference](https://docs.aws.amazon.com/vsts/latest/userguide/cloudformation-create-update.html).

####Task Permissions
This task requires permissions to call the following AWS service APIs (depending on selected task options, not all APIs may be used):
* cloudformation:CreateChangeSet
* cloudformation:CreateStack
* cloudformation:DeleteChangeSet
* cloudformation:DescribeChangeSet
* cloudformation:DescribeStacks
* cloudformation:DescribeStackResources
* cloudformation:ExecuteChangeSet
* cloudformation:UpdateStack

The task may also require permissions to upload your application template to the specified Amazon S3 bucket.
2023-02-02T12:55:25.4408999Z ==============================================================================
2023-02-02T12:55:25.8034067Z Configuring credentials for task
2023-02-02T12:55:25.8037558Z ...configuring AWS credentials from service endpoint '59a84544-19ad-4e68-9e6c-94b97892d93f'
2023-02-02T12:55:25.8038215Z ...endpoint defines standard access/secret key credentials
2023-02-02T12:55:25.8045378Z Configuring region for task
2023-02-02T12:55:25.8047327Z ...configured to use region us-east-1, defined in task.
2023-02-02T12:55:25.8109997Z Configuring credentials for task
2023-02-02T12:55:25.8111967Z ...configuring AWS credentials from service endpoint '59a84544-19ad-4e68-9e6c-94b97892d93f'
2023-02-02T12:55:25.8112304Z ...endpoint defines standard access/secret key credentials
2023-02-02T12:55:25.8112537Z Configuring region for task
2023-02-02T12:55:25.8113733Z ...configured to use region us-east-1, defined in task.
2023-02-02T12:55:25.8172815Z Checking existence for stack api-test-stack
2023-02-02T12:55:26.4146817Z Test for existence of stack api-test-stack returned error: 'SignatureDoesNotMatch: The request signature we calculated does not match the signature you provided. Check your AWS Secret Access Key and signing method. Consult the service documentation for details.'.
2023-02-02T12:55:26.4148124Z Stack does not exist, switching to create stack mode
2023-02-02T12:55:26.4153968Z Uploading template file /azp/_work/r41/a/_apigw-lab/Api.yaml to object Api.yaml in bucket asdasd-apigwtest
2023-02-02T12:55:27.0350742Z ##[error]Error: Error uploading template file: SignatureDoesNotMatch: The request signature we calculated does not match the signature you provided. Check your key and signing method.
2023-02-02T12:55:27.0378825Z ##[section]Finishing: Create/Update Stack: api-test-stack`

Contributor guide

Open the contributing guide

Research direction

Start with the AWS CloudFormation Create/Update Stack task described in the log, using Api.yaml, the us-east-1 region, and the standard access/secret-key service endpoint. Compare the credential configuration with the reported SignatureDoesNotMatch failures during stack existence checks and template upload; done means the task completes without those signature errors.

Written by the indexing model from the issue text.

Assessment

Tech stack
aws, azure, typescript
Domain
authentication, cloud, devops
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
30/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.