Skip to content

Conversation

@vigy02
Copy link
Contributor

@vigy02 vigy02 commented Sep 23, 2024

Problem

The .amplify/generated/env/ directory is not cleared before deployments, causing outdated/renamed environment files to remain. This can lead to confusion and potential errors when the function's handler code does not match the current environment settings.

Validation

  • Manually verified that the directory is indeed cleared before and after deployments.

@vigy02 vigy02 added the run-e2e Label that will include e2e tests in PR checks workflow label Sep 23, 2024
@vigy02 vigy02 requested a review from a team as a code owner September 23, 2024 22:41
@changeset-bot
Copy link

changeset-bot bot commented Sep 23, 2024

🦋 Changeset detected

Latest commit: 4f2d18c

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-function 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

@vigy02 vigy02 closed this Sep 23, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

run-e2e Label that will include e2e tests in PR checks workflow

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant