Closed geanque closed 1 year ago
Hi @geanque 👋🏽 Amplify CLI version 11 started using SSM Parameter Store to copy various environment variables defined in the team-provider-info.json
file. Any variable not present in that file, Amplify will try to read from SSM. In this case, you can try 2 things to fix this:
amplify push
locally which will update the backend environment accordinglyPlease let us know if these steps resolve the issue for you.
This issue has not received a response in a while. If you want to keep this issue open, please leave a comment below and auto-close will be canceled.
This issue has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.
Before opening, please confirm:
App Id
d3hv3dy1ixd07q
AWS Region
us-east-1
Amplify Hosting feature
Environment variables
Describe the bug
Recently I tried to deploy a Backend and FrontEnd application from a git repository and get this error at build phase:
"This environment is missing some parameter values. 2023-05-10T04:59:23.055Z [INFO]: [connectInstanceId,connectInstanceId,connectInstanceId,accountId,accountId,appId,type] do not have values. Resolution: Run 'amplify push' interactively to specify values."
I have the same application, from the same git repo, deployed 41 days ago with no changes in the code or in the config files.
Also I have set the custom environment variables in the portal, but I don't know why it asking for the "appId" and "type" variables from the hosting component created by amplify too:
One of the lambdas cloud formation template:
Expected behavior
The application has not had any changes, so the deployment from the Amplify portal should continue to work as it did 41 days ago.
Reproduction steps
1- Make a serverless application with lambdas for the backend and environment custom variables within. 2- Try to deploy this application connecting to a git repo from the web portal
Build Settings
Log output
Additional information
I don't know what else to do, why it doesn't work anymore. I need to deploy my application to a new customer.