First you list down the resources $ terraform state list Than you just remove the resource $terraform state rm ‘<resource_name>’