upload_debug_info_to_s3variable is set to true, the deployer will automatically upload your
all.ymlfile to the s3 bucket, so you can download it to any other machine. Simply download this file to your
group_varsfolder and your new deployer will pick up the current deployment instead of creating a new one.
group_vars/all.yml, including your DB ID and name, and execute the
ansible-playbook attach_existing_rds.ymlcommand. This will add the current DB instance into the Terraform-managed resource group. After that run
ansible-playbook deploy_infra.ymlas you normally would.
ansible-playbook attach_existing_rds.ymlthe S3 and DynamoDB instances will be automatically created (if
backendvariable is set to
true) to store Terraform state files.
group_vars/all.ymlare exactly the same as your existing DB.