On second spin up of the NextJS sample app I get a...
# help
j
On second spin up of the NextJS sample app I get a failure: "dev-nextjs-app-my-stack failed: dev-nextjs-app-Counter already exists" It seems the pull down didn't work right.
m
No, it means there's already a table with name
counter
Change the name of your table to something else and start the server again. @Justin Philpott
j
Yes it was left there from the first spin up, meaning the remove command didn't work completely
m
You need to manually delete the Dynamo DB table.
j
cool
thank you
j
Stateful resources like tables have a remove policy or retain, by default. You can change the defaultRetainPolicy in your dev environments and your retainPolicy (per resource) in other environments.
j
yes this makes sense, thanks