Files
infra-provisioner/rds-tf/deploy.sh
2020-03-26 11:46:53 +05:30

8 lines
441 B
Bash
Executable File

#!/bin/sh
terraform19 init
terraform19 workspace select spike.np.navi-tech.in || terraform workspace new spike.np.navi-tech.in
terraform19 apply -target=module.rds.data.aws_subnet_ids.command_private_subnets -auto-approve
terraform19 apply -target=module.rds.module.rds_instance -auto-approve
terraform19 apply -target=module.rds.module.rds_instance_events -auto-approve
terraform19 apply -target=module.rds.module.postgres_db -auto-approve