I am creating a new aws_db_instance and after terraform deployment I want to update my master password.
when I pass a new password using a variable or as a string. But when I apply then destroy rds and recreate instance.
How can we modify only RDS DB instance password using terraform?
From your screenshot, you have modified the storage_encrypted
value, from true
to null
(false). Terraform is very clearly telling you that is the reason it is replacing the instance.