ansible-playbook clean.yml
command.upload_debug_info_to_s3
variable is set to true, the deployer will automatically upload your all.yml
file to the s3 bucket, so you can download it to any other machine. Simply download this file to your group_vars
folder 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.yml
command. This will add the current DB instance into the Terraform-managed resource group. After that run ansible-playbook deploy_infra.yml
as you normally would.ansible-playbook attach_existing_rds.yml
the S3 and DynamoDB instances will be automatically created (if backend
variable is set to true
) to store Terraform state files.prefix
variable: tf
chain_db_id
variable: poagroup_vars/all.yml
are exactly the same as your existing DB.