master: push: - name: Terraform by Example services: - docker docker: image: hashicorp/terraform stages: - name: docker image ls script: docker image ls - name: docker ps script: docker ps - name: init script: terraform init - name: plan script: terraform plan - name: apply script: terraform apply -auto-approve - name: docker image ls script: docker image ls - name: docker ps script: docker ps