From the course: Complete Guide to Serverless Web App Development on AWS

Unlock this course with a free trial

Join today to access over 24,600 courses taught by industry experts.

Solution: Modify and deploy your Web app

Solution: Modify and deploy your Web app

(upbeat techno music) - [Instructor] Let's see how I solve this problem. To solve this challenge, I first went to my stack and I added here the IS_MOCK environmental variable. So here is the configuration for my Amplify application. We have the region, and here we are going to do IS_MOCK, and then we are going to say true because for now we are using mock data. Let's save and then deploy. To deploy, cdk deploy. Then we wait. (laughs) This deployment should not take very long, but it's a deployment, it will take a bit. So this will be deploying this new environmental variable into our Amplify application. It's updating the cloud formation stack. And we can go to our account and we can see here that the update is in progress. You can always check what is going on in here, all the events that are happening and which ones are finishing. A lot of things happen in parallel, so that's handy. And you can also always access to all the resources inside the stack in the resources. And here you���

Contents