$ npm install terraform-state-mergeMerge any number of Terraform state files into one.
npm -g install terraform-state-merge
terraform-state-merge <tfstate-file> <tfstate-file> [<tfstate-file> [...]]
terraform-state-merge always assumes the latest state has the most accurate
information.