Skip to content

AWSShellScript Failing with InvalidSignatureException intermittently in Azure Devops #556

@prashankprince

Description

@prashankprince

Describe the bug

Running shell script in Azure Devops pipeline is failing with below error intermittently-

2024-07-15T05:35:32.5689287Z An error occurred (InvalidSignatureException) when calling the ListImages operation: 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.

To reproduce

Steps to reproduce the behavior:

  1. Go to Azure Devops Pipeline and Create a task using AmazonWebServices.aws-vsts-tools.AWSShellScript.AWSShellScript
  2. Call a script from repo/inline shell script
  3. Run pipeline
  4. See intermittent error -

2024-07-15T05:35:32.5689287Z An error occurred (InvalidSignatureException) when calling the ListImages operation: 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.

Expected behavior

Task executed successfully

Screenshots

Your Environment

  • On-prem or cloud based: Cloud based
  • Azure DevOps version: Version Dev19.M241.1 (AzureDevOps_M241_20240710.23)
  • AWS Toolkit for Azure DevOps version:1.14.0 (Latest)

Additional context

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions