Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: do not update idp if credentials not present #9454

Merged
merged 2 commits into from
Feb 3, 2022

Conversation

ammarkarachi
Copy link
Contributor

@ammarkarachi ammarkarachi commented Jan 7, 2022

Description of changes

On a pull when and then executing another push the auth the idp updater/creator custom lambda resource throws an error since the credentials do not exist

Issue #, if available

Description of how you validated changes

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

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

@ammarkarachi ammarkarachi requested a review from a team as a code owner January 7, 2022 00:24
@codecov-commenter
Copy link

codecov-commenter commented Jan 20, 2022

Codecov Report

Merging #9454 (49470bd) into master (b99b08e) will not change coverage.
The diff coverage is n/a.

Impacted file tree graph

@@           Coverage Diff           @@
##           master    #9454   +/-   ##
=======================================
  Coverage   52.62%   52.62%           
=======================================
  Files         821      821           
  Lines       45551    45551           
  Branches     9729     9729           
=======================================
  Hits        23973    23973           
  Misses      19577    19577           
  Partials     2001     2001           

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update b99b08e...49470bd. Read the comment docs.

Copy link
Contributor

@jhockett jhockett left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Changes LGTM, is there a test that can be added here?

@ammarkarachi
Copy link
Contributor Author

@jhockett I can add one

@cjihrig
Copy link
Contributor

cjihrig commented Jan 24, 2022

Going to hold off on merging this for now, pending the requested test.

@ammarkarachi ammarkarachi merged commit 5b2d8c8 into aws-amplify:master Feb 3, 2022
@github-actions
Copy link

👋 Hi, this pull request was referenced in the v7.6.19 release!

Check out the release notes here https://github.com/aws-amplify/amplify-cli/releases/tag/v7.6.19.

@github-actions github-actions bot added the referenced-in-release Issues referenced in a published release changelog label Feb 10, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
referenced-in-release Issues referenced in a published release changelog
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants