This repository is a collection of Terraform automation projects, each of them is intended to be used as a template in a demonstration or to build a test environment. In the directories, you will find a description of what each project does and if you want (or need) to customize them, you can change defaults in the different name-variables.tf files.
The projects can be briefly described as follows:
- azure/base-environment: It creates an environment in Azure based on the CloudGuard Blueprint's design principles
- azure/mgmt-configuration: It configures existing Check Point management through APIs with Azure objects
- azure/vmss: It creates a Virtual-Machine Scale-Sets to be used as outbound / inbound / east-west protection
- azure/vmss-vpn: It creates a Virtual-Machine Scale-Sets with the Remote-Access components
Check out my Terraform Amazon Web Services repository here: gbrembati / terraform-aws
Check out my Terraform Google Cloud Platform repository here: gbrembati / terraform-gcp
Check out my Terraform CloudGuard Native repository here: gbrembati / terraform-cloudguard-native
Check the Check Point official CloudGuard IaaS repository here: CheckPointSW / CloudGuardIaaS
The first thing that you need to do is download this repository, either via "git clone" or "download as ZIP".
Choose which are projects that you want to use, and in each directory change the relative terraform.tfvars file.
Once you have done the above, simply go inside the directory of a single project and run these terraform commands.
To prepare the current working directory (and install the required providers) run :
terraform init
To create an execution plan (and see the changes that will be made in your environment) run :
terraform plan
To apply the changes required to reach the desired state (and create your environment) run :
terraform apply
To destroy the Terraform-managed infrastructure, run:
terraform destroy