Process
The process is relatively simple but I couldn’t find much supporting documentation, so it’s outlined here:
- use terraform state mv command to export state from previous module into transfer file
- rename transfer.tfstate to terraform.tfstate and move to new module
- set up manifests to point at s3 backend
terraform init -reconfigure
- prompts to transfer state from
, yes - check S3, looks like it’s there
- terraform apply confirms that the resources are there
Leave a comment