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: copy env specific data from ccb on env checkout #7512

Merged
merged 3 commits into from
Jun 14, 2021

Conversation

jhockett
Copy link
Contributor

@jhockett jhockett commented Jun 14, 2021

Description of changes

After an amplify env checkout, the displayed amplify status would sometimes incorrectly show Updated instead of No Changes when layer content remained untouched. This PR fixes that by copying the Cloudformation file and the description field stored in the #current-cloud-backend directory. This bug only affected the displayed status, and did not result in new layer versions being created on a subsequent push.

Also updated an inaccurate e2e test description.

Description of how you validated changes

Updated multi-environment e2e tests to check amplify status, which pass locally. Unit tests also pass locally.

Checklist

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

@jhockett jhockett requested a review from a team as a code owner June 14, 2021 02:04
@jhockett jhockett requested a review from attilah June 14, 2021 02:04
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.

Added some nits about function reuse/add.

@jhockett jhockett merged commit bef6d9c into aws-amplify:master Jun 14, 2021
@github-actions github-actions bot added the referenced-in-release Issues referenced in a published release changelog label Jun 15, 2021
@github-actions
Copy link

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

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

cjihrig pushed 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.

2 participants