Editing Terraform State Pull the state terraform state pull > temp.tfstate Edit temp.tfstate in your favourite editor Push the state terraform state push temp.tfstate