Applying¶
Once the pipeline is in place and has executed for the first time you'll have a Terraform plan ready to be deployed.
Triggering a terraform apply
is actually really easy and just involves pressing the "play" button alongside the apply
stage in the pipeline, seen below:
This will result in changes going live. If there is no existing infrastructure then about 32 resources will be created. If you've already built the infrastructure and left it in place until now, then there will be nothing to do and the pipeline can be ignored.
Next¶
Now that we've created our resources, let's destroy them all using the CI process for triggering a terraform destroy
.