How do I configure VCS automation?¶
VCS automation is easily configured by simply creating a workspace that is linked to VCS repository and branch.
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 a dry run comprises the following steps.
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.
Learn more about VCS automation here VCS Integrated Workspace.