Soldato
We have been having issues with a cluster of database servers at work which where provisioned with terraform.
They needed to up scale the instance sizes, and that has been done through the console via click ops.
I updated the terraform configuration with the updated instance type, but as I suspected TF wants to destroy the instances and recreate them.
It occurred to me today after work maybe I can just edit the state files with the new instance sizes?
The terraform config also deals with route53 dns records too, but as long as tf thinks the instances haven't changed then I hope it will stop complaining that it needs to destroy and recreate the dns records as well.
What do you think?
They needed to up scale the instance sizes, and that has been done through the console via click ops.
I updated the terraform configuration with the updated instance type, but as I suspected TF wants to destroy the instances and recreate them.
It occurred to me today after work maybe I can just edit the state files with the new instance sizes?
The terraform config also deals with route53 dns records too, but as long as tf thinks the instances haven't changed then I hope it will stop complaining that it needs to destroy and recreate the dns records as well.
What do you think?
Last edited: