This repository is a collection of Terraform automation projects that can be used in an Azure environment.
These projects are intended to be used as a template to demonstrate or build a test environment. You will find a description of what each project does in the directories, 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:
- ./base-environment: It creates an environment in Azure based on the CloudGuard Blueprint's design principles
- ./mgmt-configuration: It configures existing Check Point management through APIs with Azure objects
- ./vmss: It creates a Virtual Machine Scale-Set to be used as outbound / inbound / east-west protection
- ./vmss-vpn: It creates a Virtual Machine Scale-Set with the Remote-Access components
- ./simple-cluster: It creates a simple architecture with a Check Point Cluster and a Management
- ./appsec-vmss-igateway: It creates architecture with an AppSec Virtual Machine Scale-Set
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 projects 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