-
Notifications
You must be signed in to change notification settings - Fork 819
Open
Labels
authIssues tied to the auth category of the CLIIssues tied to the auth category of the CLIbugSomething isn't workingSomething isn't workingfunctionsIssues tied to the functions categoryIssues tied to the functions categoryp2
Description
How did you install the Amplify CLI?
npm
If applicable, what version of Node.js are you using?
v21.6.1
Amplify CLI Version
12.10.1
What operating system are you using?
MacOS 14.2.1 (23C71)
Did you make any manual changes to the cloud resources managed by Amplify? Please describe the changes made.
Configured WAF rules and logging for Appsync
Describe the bug
Adding additional sign-up / sign in URI removes env vars from unrelated PreSignUp function
Expected behavior
Only update the sign-in / sign-out URIs
Do not make updates to unrelated functions
Reproduction steps
- Setup an environment that uses Auth configured with Google and a custom PreSignup function
- Configure a custom env var for PreSignup function
- Use
amplify update authto add two additional sign-in/sign-out URIs. amplify statusshows changes to Auth module as expected but also to Function module for the xxxPreSignUp function which is unexpected.- Investigation shows that custom env var for xxxPreSignUp has been removed from:
- amplify/backend/function/xxxPreSignup/xxxPreSignup-cloudformation-template.json
- amplify/backend/function/xxxPreSignup/function-parameters.json
- amplify/backend/backend-config.json
Project Identifier
682e0d66e3a50d4839b5c4d402d6addf
Log output
Details
# Put your logs below this line
Additional information
No response
Before submitting, please confirm:
- I have done my best to include a minimal, self-contained set of instructions for consistently reproducing the issue.
- I have removed any sensitive information from my code snippets and submission.
Metadata
Metadata
Assignees
Labels
authIssues tied to the auth category of the CLIIssues tied to the auth category of the CLIbugSomething isn't workingSomething isn't workingfunctionsIssues tied to the functions categoryIssues tied to the functions categoryp2