Skip to content

Conversation

jonscheiding
Copy link
Contributor

Description of changes

If the AWS profile specified in the Amplify config doesn't exist, or if the AWS config files themselves don't exist, various Amplify
operations log this error:

🛑 Failed to get profile credentials
Cannot read properties of undefined (reading 'accessKeyId')

Depending on the operation and circumstances, this can be just a spurious message that doesn't interfere with the operation, or it can be an
actual error.

Issue #, if available

Description of how you validated changes

  • Tested locally with modified version and a missing AWS profile

Checklist

  • PR description included
  • yarn test passes
  • Tests are changed or added
  • Relevant documentation is changed or added (and PR referenced)
  • New AWS SDK calls or CloudFormation actions have been added to relevant test and service IAM policies
  • Pull request labels are added

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

@jonscheiding jonscheiding requested a review from a team as a code owner December 6, 2024 19:16
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant