aws-amplify / amplify-backend

Home to all tools related to Amplify's code-first DX (Gen 2) for building fullstack apps on AWS
Apache License 2.0
184 stars 62 forks source link

fix(backend-deployer): improve handling of expired AWS credentials #2185

Closed vigy02 closed 2 weeks ago

vigy02 commented 2 weeks ago

Problem

The CdkErrorMapper was not properly handling the "Error: The security token included in the request is expired" error message, leading to potentially confusing error output for users with expired AWS credentials.

Changes

Corresponding docs PR, if applicable: N/A

Validation

Checklist

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.

changeset-bot[bot] commented 2 weeks ago

🦋 Changeset detected

Latest commit: d4e10f546ab8b0ca5f20cced0e8cea77d2a3aef1

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 1 package | Name | Type | | ----------------------------- | ----- | | @aws-amplify/backend-deployer | Patch |

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR