Apply for invite to IaCP

How do I configure VCS automation?

VCS automation is easily configured by simply creating a workspace that is linked to VCS repository and branch.

../_images/new_ws_vcs.png

This workspace to VCS link causes automatic Terraform runs when either of the following two events occur.

  • Pull request against the branch causes a “dry run”. In Scalr IaCP a dry run comprises the following steps.

    • Terraform plan.

    • Cost estimation.

    • Policy checks using Open Policy Agent.

  • Commit/Merge to branch causes a full run (terraform apply) that will deploy the infrastructure.

    • Note that “Auto Apply” is an option in the workspace configuration.

Check out our complete guide to configuring VCS automation here Guide : Devops automation through VCS.