Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: Ignore changes to root_password (#279)
root_password can only be set by the provider when the instance is provisioned and it seems that even if the provider could read the password then one would not wish to destroy and recreate the instance because the password did not match what was in Terraform. This is specifically relevant to emergency maintenance where somebody might have to re-import a cloned version of the SQL server into state in a cleanup exercise. The imported server has a null root_password because that is what the provider has to set it to on import. The password currently present in the state in this scenario will force a destroy and create of the instance because of this change. The way to avoid this is to ignore changes for root_password Co-authored-by: Andy Smith <iamasmith.home@gmail.com>
- Loading branch information