DEV Community

hirooka kazuya
hirooka kazuya

Posted on

dev diary 20251113

AWS Amplify Gen 2 Setup Status
I'm developing an application using AWS Amplify Gen 2, and I'm currently working on the initial setup.

The challenge I'm facing is that the sandbox is supposed to link with the CloudFormation stack, but it hasn't yet. When I stop the sandbox with ctrl+C, the project stops at the command level, but it seems to be the design that the stack is not deleted. I have to explicitly delete it using npx ampx sandbox delete.

Also, there is information suggesting that updates to categories like Auth may not be reflected in real-time. However, Data should be reflected correctly if configured properly.

Only the backend.ts file is required directly under the amplify folder; all other files should be placed within their respective folders, such as auth or data.

I still don't understand how to configure the resource.ts file, so figuring out that mechanism will ultimately be necessary. This might also be where I find the method for real-time synchronization.

Despite these challenges, I'm gradually starting to understand the mechanics of how the Amplify backend is configured.

Top comments (0)