terraform CLI commands command description terraform fmt -recursive format terraform scripts recursively terraform state rm 'packet_device.worker' delete the resource from the state file