-
Notifications
You must be signed in to change notification settings - Fork 824
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
I modified the function's cloudformation-template.json, but it still shows 'No Change' and does not apply the updates when I run amplify push. #14077
Comments
Hey @yhnamgung-grooo, thank you for reaching out. Could you try upgrading your Amplify CLI to newer versions with the latest being |
A problem occurred while updating the �amplify cli. Is there a way to revert without removing cognito or other resources? |
@yhnamgung-grooo From the following AWS posts, the recommendation is to rollback the CloudFormation stack while skipping the Lambda function. Could you try running this and then update the all the function templates to a supported node version? |
@ykethan Comment for Existing Issue: Cannot Modify IAM Policy for authTriggerFnXXXXXX Role Amplify automatically creates a Lambda function (authTriggerFnXXXXXX) and an IAM Role. |
How did you install the Amplify CLI?
npm
If applicable, what version of Node.js are you using?
20
Amplify CLI Version
9.2.1
What operating system are you using?
ubuntu
Did you make any manual changes to the cloud resources managed by Amplify? Please describe the changes made.
No manual changes have been made.
Everything is managed through cloudformation-template.
Describe the bug
I modified the cloudformation-template.json in the function. When you apply
amplify push
locally, all the modified functions will be updated. However, if you merge into the GitHub branch and applyamplify push
in an action, only the function named ${projectName}AuthApi will be shown as updated, while the others will be marked as 'No Change'.Expected behavior
${projectName}AuthApi
${projectName}CreateAuthChallenge
${projectName}DefineAuthChallenge
${projectName}PreSignup
${projectName}VerifyAuthChallengeResponse
I believe that all the modified functions should be detected as having an update status and should be deployed via amplify push.
Reproduction steps
step1.
Modify the cloudformation-template of the function related to auth.
The modification area modifies the Runtime of Lambda.
step2.
amplify status
in the local environment.Verify that the function you changed is in the update state.
image : local terminal
step3.
Push to github branch.
amplify push
is performed within the github action.Only ${projectName}AuthApi is detected as a change.
image : github action
Project Identifier
Project Identifier: 95f93be5a1103ea933af50416baa53e8
Log output
Additional information
No response
Before submitting, please confirm:
The text was updated successfully, but these errors were encountered: