Skip to content

Latest commit

 

History

History

aws-dbmigrator

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 
 
 

Testing the code

Requirements

Configuration

cd db-migrator-init
# Update the file `vars/common-vars.asb.yml` with appropriate values
ansible-playbook prime/main.asb.yml

cd ../cd aws-dbmigrator-app

ansible-playbook aws/main.asb.yml

cd ../aws-migrator-app
git init
git remote add origin codecommit::us-east-1://spikeseed-labs@db-migrator-app
git add -A
git commit -m "Demo application"
git push origin master

cd ../aws-migrator-init
ansible-playbook cicd/main.asb.yml

Extra commands

cd aws-dbmigrator-app

ansible-playbook aws/infra/main.asb.yml --check -v
ansible-playbook aws/infra/main.asb.yml --tags vpc --check -vvv
ansible-playbook aws/infra/main.asb.yml --tags sg --check -vvv
ansible-playbook aws/infra/main.asb.yml --tags database --check -vvv

ansible-playbook aws/lambdas/main.asb.yml --check -v
ansible-playbook aws/lambdas/main.asb.yml --tags dbinit --check -vvv
ansible-playbook aws/lambdas/main.asb.yml --tags dbmigrations-hw --check -vvv
ansible-playbook aws/lambdas/main.asb.yml --tags helloworld --check -vvv

Cleanup

  1. Remove the S3 Buckets
  2. Remove the stacks
  3. Remove the CodeCommit repositories
  4. Remove SSM Parameters