This repository is a collection of Terraform automation projects that can be used in an AWS environment.
hese 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:
- ./gwlb-base-env: It creates a Gateway Load-Balancer Centralized environment composed by Spoke VPCs, CKP Management and Autoscaling-group
- ./gwlb-mgmtcfg: It configures an existing Check Point management through APIs with the settings needed in a GWLB Centralized Architecture
Check out my Terraform Microsoft Azure repository here: gbrembati / terraform-azure
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