The process is relatively simple but I couldn’t find much supporting documentation, so it’s outlined here:

  1. use terraform state mv command to export state from previous module into transfer file
  2. rename transfer.tfstate to terraform.tfstate and move to new module
  3. set up manifests to point at s3 backend
  4. terraform init -reconfigure
  5. prompts to transfer state from , yes
  6. check S3, looks like it’s there
  7. terraform apply confirms that the resources are there

Leave a comment