EC2 Instances are not persistent
hey I tried to use coder ec2 Linux template to spin ec2 instances but seems like when I stop the workspace its trying to destroy the ec2 and recreate it and put it in stop and the bad thing here is the data is not persistent
3 Replies
<#1369449986022051922>
Category
Help needed
Product
Coder (v2)
Platform
Linux
Logs
Please post any relevant logs/error messages.
hey @traderavi, are you using the latest version of that template?
it should be starting/stopping and not destroying
see https://github.com/coder/coder/blob/58adc629fa67229217d741e6ffbed7fb312aa553/examples/templates/aws-linux/main.tf#L293-L296