Sync aws console with state file or configuration file

I have created couple of ec2 instances directly from aws console. The 3rd ec2 instance i launched using terraform script. Was wondering if there is any way to have the first 2 ec2 instances synced or refreshed with state file

You can import resources one at a time with the ‘terraform import’ command. You’ll need to create the matching config, though.

Thanks worked perfectly :slight_smile: