Terraform import to show possible code update

According to the Terraform import lecture of the Terraform Basics Training Course, as of version 0.13, there is no way for Terraform to update the config files if the resources were modified manually.

I want to know as of now Terraform v1.5.6, is there any update ?

If I provision an AWS EC2 of r5.xlarge via Terraform and update the EC2 instance via the aws console to i3.8xlarge then can terraform import output a possible config change code so that we can copy-paste the changed config ?


What you are describing is called “drift”. Please read the following article. It may help you