Closed esacteksab closed 5 years ago
has been successfully implemented with the following code:
steps:
- *restore_repo
- *set_terraform_environment
- *terraform_init
- attach_workspace:
at: *working_directory
- run:
name: terraform apply
command: |
source $BASH_ENV
pwd
ls -al
cd packet/builder && terraform apply --auto-approve terraform.plan
additional context available in #14
Given
terraform init
orterraform plan
runs on staging/PR, we needterraform apply
to run on Master (merge to master). Make the necessary changes to.circle/config.yaml
so that it runsterraform apply
with the plan created in the previous steps/stages.