Skip to content

Commit

Permalink
Merge pull request #323 from chkp-meravbe/mb-qs-shell
Browse files Browse the repository at this point in the history
AWS | TF | add parameter admin_shell
  • Loading branch information
chkp-romanka authored Nov 27, 2023
2 parents eadabc3 + dc62a20 commit 4aacae7
Show file tree
Hide file tree
Showing 8 changed files with 23 additions and 1 deletion.
5 changes: 4 additions & 1 deletion terraform/aws/qs-autoscale-master/README.md

Large diffs are not rendered by default.

1 change: 1 addition & 0 deletions terraform/aws/qs-autoscale-master/main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,7 @@ module "launch_qs_autoscale" {
load_balancer_protocol = var.load_balancer_protocol
certificate = var.certificate
service_port = var.service_port
admin_shell = var.admin_shell
gateways_subnets = module.launch_vpc.public_subnets_ids_list
gateway_instance_type = var.gateway_instance_type
gateways_min_group_size = var.gateways_min_group_size
Expand Down
1 change: 1 addition & 0 deletions terraform/aws/qs-autoscale-master/terraform.tfvars
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@ load_balancers_type = "Application Load Balancer"
load_balancer_protocol = "HTTP"
certificate = ""
service_port = "80"
admin_shell = "/etc/cli.sh"

// --- Check Point CloudGuard Network Security Gateways Auto Scaling Group Configuration ---
gateway_instance_type = "c5.xlarge"
Expand Down
5 changes: 5 additions & 0 deletions terraform/aws/qs-autoscale-master/variables.tf
Original file line number Diff line number Diff line change
Expand Up @@ -96,6 +96,11 @@ variable "service_port" {
type = string
description = "The external Load Balancer listens to this port. Leave this field blank to use default ports: 80 for HTTP and 443 for HTTPS"
}
variable "admin_shell" {
type = string
description = "Set the admin shell to enable advanced command line configuration"
default = "/etc/cli.sh"
}

// --- Check Point CloudGuard Network Security Gateways Auto Scaling Group Configuration ---
variable "gateway_instance_type" {
Expand Down
4 changes: 4 additions & 0 deletions terraform/aws/qs-autoscale/README.md

Large diffs are not rendered by default.

2 changes: 2 additions & 0 deletions terraform/aws/qs-autoscale/main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -58,6 +58,7 @@ module "autoscale" {
maximum_group_size = var.gateways_max_group_size
target_groups = tolist([module.external_load_balancer.target_group_arn])
gateway_version = var.gateway_version
admin_shell = var.admin_shell
gateway_password_hash = var.gateway_password_hash
gateway_SICKey = var.gateway_SICKey
allow_upload_download = var.allow_upload_download
Expand Down Expand Up @@ -86,6 +87,7 @@ module "management" {
disable_instance_termination = var.disable_instance_termination
iam_permissions = "Create with read-write permissions"
management_version = var.management_version
admin_shell = var.admin_shell
management_password_hash = var.management_password_hash
allow_upload_download = var.allow_upload_download
admin_cidr = var.admin_cidr
Expand Down
1 change: 1 addition & 0 deletions terraform/aws/qs-autoscale/terraform.tfvars
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@ load_balancers_type = "Application Load Balancer"
load_balancer_protocol = "HTTP"
certificate = ""
service_port = "80"
admin_shell = "/etc/cli.sh"

// --- Check Point CloudGuard Network Security Gateways Auto Scaling Group Configuration ---
gateways_subnets = ["subnet-123b5678", "subnet-123a4567"]
Expand Down
5 changes: 5 additions & 0 deletions terraform/aws/qs-autoscale/variables.tf
Original file line number Diff line number Diff line change
Expand Up @@ -79,6 +79,11 @@ variable "service_port" {
type = string
description = "The external Load Balancer listens to this port. Leave this field blank to use default ports: 80 for HTTP and 443 for HTTPS"
}
variable "admin_shell" {
type = string
description = "Set the admin shell to enable advanced command line configuration"
default = "/etc/cli.sh"
}

// --- Check Point CloudGuard Network Security Gateways Auto Scaling Group Configuration ---
variable "gateways_subnets" {
Expand Down

0 comments on commit 4aacae7

Please sign in to comment.