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: ensure REST API CFN outputs the API ID #7538

Merged
merged 2 commits into from
Jun 17, 2021
Merged

fix: ensure REST API CFN outputs the API ID #7538

merged 2 commits into from
Jun 17, 2021

Conversation

cjihrig
Copy link
Contributor

@cjihrig cjihrig commented Jun 17, 2021

Description of changes

This commit updates the REST API migration logic to ensure that the API ID is a CFN Output, as the policy consolidation logic will rely on this during push.

Issue #, if available

Description of how you validated changes

Manual testing

Checklist

  • PR description included
  • yarn test passes

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

This commit updates the REST API migration logic to ensure
that the API ID is a CFN Output, as the policy consolidation
logic will rely on this during push.
@cjihrig cjihrig requested review from attilah and ammarkarachi June 17, 2021 18:22
@cjihrig cjihrig requested a review from a team as a code owner June 17, 2021 18:22
Copy link
Contributor

@attilah attilah left a comment

Choose a reason for hiding this comment

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

LGTM a nit about the return

@ammarkarachi ammarkarachi merged commit c3f4128 into aws-amplify:master Jun 17, 2021
@cjihrig cjihrig deleted the rest-bug branch June 17, 2021 19:02
@github-actions
Copy link

👋 Hi, this pull request was referenced in the v5.0.1 release!

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

@github-actions github-actions bot added the referenced-in-release Issues referenced in a published release changelog label Jun 19, 2021
edwardfoyle pushed a commit that referenced this pull request Jun 24, 2021
cjihrig added a commit to ctjlewis/amplify-cli that referenced this pull request Jul 12, 2021
* fix: ensure REST API CFN outputs the API ID

This commit updates the REST API migration logic to ensure
that the API ID is a CFN Output, as the policy consolidation
logic will rely on this during push.

* fix: replace early return with throw

Co-authored-by: Colin Ihrig <colihrig@amazon.com>
cjihrig added a commit to ctjlewis/amplify-cli that referenced this pull request Jul 12, 2021
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