|
| 1 | +# Management Module |
| 2 | + |
| 3 | +This Terraform module deploys a Check-Point CloudGuard Network Security Management Server solution into a vSphere |
| 4 | +environment using an OVA template. |
| 5 | + |
| 6 | +### Prerequisites |
| 7 | + |
| 8 | +Check Point CloudGuard Network Security **"All deployment types" OVA** |
| 9 | +from [CloudGuard Network for Private Cloud images](https://support.checkpoint.com/results/sk/sk158292) R81.20 or later. |
| 10 | + |
| 11 | +## Usage |
| 12 | + |
| 13 | +Follow best practices for using CGNS modules |
| 14 | +on [main readme.md file](https://registry.terraform.io/modules/CheckPointSW/cloudguard-network-security/vmware/latest). |
| 15 | + |
| 16 | +## Example Usage |
| 17 | + |
| 18 | +```hcl |
| 19 | +provider "vsphere" {} |
| 20 | +
|
| 21 | +module "management" { |
| 22 | + source = "CheckPointSW/cloudguard-network-security/vmware//modules/management" |
| 23 | +
|
| 24 | + // VMware vCenter configuration |
| 25 | + datacenter_name = "datacenter" |
| 26 | + resource_pool = "my-pool" |
| 27 | + datastore = "datastore-1" |
| 28 | + esxi_host = "172.23.24.20" |
| 29 | + eth0_network_name = "external-network" |
| 30 | + local_ovf_path = "/home/file/jaguar_opt_main-777-991001696" |
| 31 | + hostname = "Management-Server-example" |
| 32 | +
|
| 33 | + // Management configuration |
| 34 | + eth0_ipaddress = "172.23.24.10" |
| 35 | + eth0_subnet_mask = 24 |
| 36 | + eth0_gateway_address = "172.23.24.1" |
| 37 | + hostname = "Management-example" |
| 38 | + admin_password = "AdminPassword123!" |
| 39 | + mgmt_admin_passwd = "guiPassword123!" |
| 40 | + maintenance_hash = "maintenancePassword123!" |
| 41 | + ssh_key = "" |
| 42 | +} |
| 43 | +``` |
| 44 | + |
| 45 | +## Argument Reference |
| 46 | + |
| 47 | +- `datacenter_name`: (**Required**) The name of the vSphere datacenter. |
| 48 | +- `resource_pool`: (**Required**) The resource pool in vCenter host name. |
| 49 | +- `datastore`: (**Required**) The datastore name. |
| 50 | +- `esxi_host`: (**Required**) The ESXi host name. |
| 51 | +- `eth0_network_name`: (**Required**) The external network name. |
| 52 | +- `local_ovf_path`: (**Required**) The local path to the OVF/OVA file. |
| 53 | +- `admin_password`: (**Required**) Admin password. |
| 54 | +- `hostname`: (**Required**) Management server hostname. |
| 55 | +- `mgmt_gui_passwd`: (**Required**) Management GUI Client Password. |
| 56 | +- `maintenance_hash`: (**Required**) Default maintenance password. |
| 57 | +- `display_name`: (Optional) The display name of the Management server (from vCenter view). Default is the same as the `hostname`. |
| 58 | +- `eth0_ipaddress`: (Optional) IP address for eth0. Leave blank for DHCP. |
| 59 | +- `eth0_subnet_mask`: (Optional) Subnet mask for eth0. default is `24`. Leave blank for DHCP. |
| 60 | +- `eth0_gateway_address`: (Optional) Gateway address for eth0. Leave blank for DHCP. |
| 61 | +- `num_cpus`: (Optional) Number of CPUs for the Security Management. |
| 62 | +- `num_cores_per_socket`: (Optional) Number of cores per socket for the Security Management. |
| 63 | +- `memory`: (Optional) Memory size for the Security Management in MB. |
| 64 | +- `provision`: (Optional) Provision type (thin, flat, thick). |
| 65 | +- `primary_dns`: (Optional) Primary DNS server. |
| 66 | +- `proxy_port`: (Optional) Port of the proxy server. |
| 67 | +- `proxy_address`: (Optional) Address of the proxy server. |
| 68 | +- `ntp_primary`: (Optional) Primary NTP server. |
| 69 | +- `ntp_primary_version`: (Optional) Version of the primary NTP server. Default is `4`. |
| 70 | +- `mgmt_gui_clients_radio`: (Optional) Management GUI Clients Restriction. (any, range, network, this). `any` by default |
| 71 | +- `mgmt_gui_clients_first_value`: (Optional) Depends "mgmt_gui_clients_radio" value:<br>If "any": leave blank<br>If " |
| 72 | + range": First IP in range for GUI clients.<br>If "network": Network address for GUI clients.<br>If "this": In case of |
| 73 | + a single IP address. |
| 74 | +- `mgmt_gui_clients_second_value`: (Optional) Depends "mgmt_gui_clients_radio" value:<br>If "any": leave blank<br>If " |
| 75 | + range": Last IP in range for GUI clients.<br>If "network": Network mask for GUI clients. |
| 76 | +- `high_availability_configuration`: (Optional) High availability configuration (Primary, Secondary). `Primary` by |
| 77 | + default. |
| 78 | +- `ssh_key`: (Optional) SSH key. |
| 79 | +- `clish_commands`: (Optional) Additional Clish commands in **base64**. |
| 80 | +- `additional_configuration`: (Optional) Additional shell commands **in base64**. |
| 81 | +- `custom_attributes`: (Optional) Map of custom attribute ids to attribute value strings to set for virtual machine. |
| 82 | + Please refer to |
| 83 | + the [vsphere_custom_attributes](https://registry.terraform.io/providers/hashicorp/vsphere/latest/docs/resources/custom_attribute#using-custom-attributes-in-a-supported-resource) |
| 84 | + resource for more information on setting custom attributes. |
| 85 | +- `sic_for_secondary_mgmt`: (Optional) Secure Internal Communication key for secondary management. |
| 86 | +- `download_info`: (Optional) Automatically download and install Software Blade Contracts, security updates, and other |
| 87 | + important data (very recommended). See sk175504. `Yes` by default |
| 88 | +- `upload_info`: (Optional) Help Check Point improve the product by sending anonymous information. See sk175504. `Yes` |
| 89 | + by default. |
| 90 | + |
| 91 | +## Outputs |
| 92 | + |
| 93 | +- `ip_external`: External IP (eth0). |
| 94 | +- `hostname`: The name of the Security Management Server. |
| 95 | +- `managed_object_id`: The managed object ID of the Security Management Server. |
| 96 | + |
| 97 | +``` |
0 commit comments