- Docker installed
Clone EGP repos to working dir(example ~/work)
git clone git@github.com:VidScale/egp-devops.git
git clone git@github.com:VidScale/egp-envs.git
Build docker image
docker build -t terrandocker .
Run bash script and define working dir with EGP repos For example, ~/work
bash terraform.sh init
bash terraform.sh plan
bash terraform.sh apply
- Different layers in Docker for Terraform, Ansible, Kubectl
- Terraform copy bin file instead of wget