You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
If applicable, what version of Node.js are you using?
No response
Amplify CLI Version
10.6.0
What operating system are you using?
Mac
Did you make any manual changes to the cloud resources managed by Amplify? Please describe the changes made.
no
Describe the bug
creating a function with env variable and running pull with function in update status will not recognize the env variable when running a update.
adding a new env variable will fail on push due to previous env variable ssm parameter
Expected behavior
show env variables
Reproduction steps
add function with env variable
push
update function env variable -> say the name
amplify status should show update status
amplify pull
amplify update function
select the same function and the env update config flow
Observe the env variable is not recognized
lets say we add a new env variable
then run push
Observe fail on push
Project Identifier
No response
Log output
# 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.
The text was updated successfully, but these errors were encountered:
Confirmed this is an issue. After pull where the function changes are reset, the new env var value is not removed from the associated block in team-provider-info.json
As a workaround, manually remove the reference to the variable in team-provider-info.json and remove the associated SSM Parameter reference in backend-config.json
How did you install the Amplify CLI?
No response
If applicable, what version of Node.js are you using?
No response
Amplify CLI Version
10.6.0
What operating system are you using?
Mac
Did you make any manual changes to the cloud resources managed by Amplify? Please describe the changes made.
no
Describe the bug
creating a function with env variable and running pull with function in update status will not recognize the env variable when running a update.
adding a new env variable will fail on push due to previous env variable ssm parameter
Expected behavior
show env variables
Reproduction steps
Observe the env variable is not recognized
Observe fail on push
Project Identifier
No response
Log output
Additional information
No response
Before submitting, please confirm:
The text was updated successfully, but these errors were encountered: