Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions modules/nva_into_existing_hub/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -76,8 +76,8 @@ module "example_module" {
| **managed-app-name** | The name of the managed application that will be created | string | The name must begin with a letter or number, end with a letter, number or underscore, and may contain only letters, numbers, underscores, periods, or hyphens.<br/>**Default:** "tf-vwan-managed-app-nva" |
| **nva-name** | The name of the NVA that will be created | string | The name must begin with a letter or number, end with a letter, number or underscore, and may contain only letters, numbers, underscores, periods, or hyphens.<br/>**Default:** "tf-vwan-nva" |
| **nva-rg-name** | The name of the resource group that will contain the NVA | string | Resource group names only allow alphanumeric characters, periods, underscores, hyphens and parenthesis and cannot end in a period.<br/>**Default:** "tf-vwan-nva-rg" |
| **os-version** | The GAIA os version | string | "R8110";<br/>"R8120";<br/>"R82".<br/>**Default:** "R8120" |
| **license-type** | The Check Point licence type | string | "Security Enforcement (NGTP)";<br/>"Full Package (NGTX + S1C)";<br/>"Full Package Premium (NGTX + S1C++)".<br/>**Default:** "Security Enforcement (NGTP)" |
| **os-version** | The GAIA os version | string | "R8110";<br/>"R8120";<br/>"R82";<br/>**Default:** "R8120" |
| **license-type** | The Check Point licence type | string | "Security Enforcement (NGTP)";<br/>"Full Package (NGTX and Smart1-Cloud)";<br/>"Full Package Premium (NGTX and Smart1-Cloud Premium)".<br/>**Default:** "Security Enforcement (NGTP)" |
| **scale-unit** | The scale unit determines the size and number of resources deployed. The higher the scale unit, the greater the amount of traffic that can be handled | string | "2";<br/>"4";<br/>"10";<br/>"20";<br/>"30";<br/>"60";<br/>"80".<br/>**Default:** "2" |
| **bootstrap_script** | An optional script to run on the initial boot | string | Bootstrap script example:<br/>"touch /home/admin/bootstrap.txt; echo 'hello_world' > /home/admin/bootstrap.txt".<br/>The script will create bootstrap.txt file in the /home/admin/ and add 'hello word' string into it.<br/>**Default:** "" |
| **admin_shell** | Enables to select different admin shells | string | /etc/cli.sh;<br/>/bin/bash;<br/>/bin/csh;<br/>/bin/tcsh.<br/>**Default:** "/etc/cli.sh" |
Expand Down
2 changes: 1 addition & 1 deletion modules/nva_into_existing_hub/main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ locals {

data "http" "image-versions" {
method = "GET"
url = "https://management.azure.com/subscriptions/${var.subscription_id}/providers/Microsoft.Network/networkVirtualApplianceSKUs/checkpoint${var.license-type == "Full Package (NGTX + S1C)" ? "-ngtx" : var.license-type == "Full Package Premium (NGTX + S1C++)" ? "-premium" : ""}?api-version=2020-05-01"
url = "https://management.azure.com/subscriptions/${var.subscription_id}/providers/Microsoft.Network/networkVirtualApplianceSKUs/checkpoint${var.license-type == "Full Package (NGTX and Smart1-Cloud)" ? "-ngtx" : var.license-type == "Full Package Premium (NGTX and Smart1-Cloud Premium)" ? "-premium" : ""}?api-version=2020-05-01"
request_headers = {
Accept = "application/json"
"Authorization" = "Bearer ${local.access_token}"
Expand Down
4 changes: 2 additions & 2 deletions modules/nva_into_existing_hub/variables.tf
Original file line number Diff line number Diff line change
Expand Up @@ -74,8 +74,8 @@ variable "license-type" {
type = string
default = "Security Enforcement (NGTP)"
validation {
condition = contains(["Security Enforcement (NGTP)", "Full Package (NGTX + S1C)", "Full Package Premium (NGTX + S1C++)"], var.license-type)
error_message = "Allowed values for License Type are 'Security Enforcement (NGTP)', 'Full Package (NGTX + S1C)', 'Full Package Premium (NGTX + S1C++)'"
condition = contains(["Security Enforcement (NGTP)", "Full Package (NGTX and Smart1-Cloud)", "Full Package Premium (NGTX and Smart1-Cloud Premium)"], var.license-type)
error_message = "Allowed values for License Type are 'Security Enforcement (NGTP)', 'Full Package (NGTX and Smart1-Cloud)', 'Full Package Premium (NGTX and Smart1-Cloud Premium)'"
}
}

Expand Down
4 changes: 2 additions & 2 deletions modules/nva_into_new_vwan/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -82,8 +82,8 @@ module "example_module" {
| **managed-app-name** | The name of the managed application that will be created | string | The name must begin with a letter or number, end with a letter, number or underscore, and may contain only letters, numbers, underscores, periods, or hyphens.<br/>**Default:** tf-vwan-managed-app |
| **nva-name** | The name of the NVA that will be created | string | The name must begin with a letter or number, end with a letter, number or underscore, and may contain only letters, numbers, underscores, periods, or hyphens.<br/>**Default:** tf-vwan-nva |
| **nva-rg-name** | The name of the resource group that will contain the NVA | string | Resource group names only allow alphanumeric characters, periods, underscores, hyphens and parenthesis and cannot end in a period.<br/>**Default:** tf-vwan-nva-rg |
| **os-version** | The GAIA os version | string | "R8110";<br/>"R8120";<br/>"R82".<br/>**Default:** "R8120" |
| **license-type** | The Check Point licence type | string | "Security Enforcement (NGTP)";<br/>"Full Package (NGTX + S1C)";<br/>"Full Package Premium (NGTX + S1C++)".<br/>**Default:** "Security Enforcement (NGTP)" |
| **os-version** | The GAIA os version | string | "R8110";<br/>"R8120";<br/>"R82";<br/>**Default:** "R8120" |
| **license-type** | The Check Point licence type | string | "Security Enforcement (NGTP)";<br/>"Full Package (NGTX and Smart1-Cloud)";<br/>"Full Package Premium (NGTX and Smart1-Cloud Premium)".<br/>**Default:** "Security Enforcement (NGTP)" |
| **scale-unit** | The scale unit determines the size and number of resources deployed. The higher the scale unit, the greater the amount of traffic that can be handled | string | "2";<br/>"4";<br/>"10";<br/>"20";<br/>"30";<br/>"60";<br/>"80".<br/>**Default:** "2" |
| **bootstrap_script** | An optional script to run on the initial boot | string | Bootstrap script example:<br/>"touch /home/admin/bootstrap.txt; echo 'hello_world' > /home/admin/bootstrap.txt".<br/>The script will create bootstrap.txt file in the /home/admin/ and add 'hello word' string into it.<br/>**Default:** "" |
| **admin_shell** | Enables to select different admin shells | string | /etc/cli.sh;<br/>/bin/bash;<br/>/bin/csh;<br/>/bin/tcsh.<br/>**Default:** "/etc/cli.sh" |
Expand Down
2 changes: 1 addition & 1 deletion modules/nva_into_new_vwan/main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ locals {

data "http" "image-versions" {
method = "GET"
url = "https://management.azure.com/subscriptions/${var.subscription_id}/providers/Microsoft.Network/networkVirtualApplianceSKUs/checkpoint${var.license-type == "Full Package (NGTX + S1C)" ? "-ngtx" : var.license-type == "Full Package Premium (NGTX + S1C++)" ? "-premium" : ""}?api-version=2020-05-01"
url = "https://management.azure.com/subscriptions/${var.subscription_id}/providers/Microsoft.Network/networkVirtualApplianceSKUs/checkpoint${var.license-type == "Full Package (NGTX and Smart1-Cloud)" ? "-ngtx" : var.license-type == "Full Package Premium (NGTX and Smart1-Cloud Premium)" ? "-premium" : ""}?api-version=2020-05-01"
request_headers = {
Accept = "application/json"
"Authorization" = "Bearer ${local.access_token}"
Expand Down
4 changes: 2 additions & 2 deletions modules/nva_into_new_vwan/variables.tf
Original file line number Diff line number Diff line change
Expand Up @@ -85,8 +85,8 @@ variable "license-type" {
type = string
default = "Security Enforcement (NGTP)"
validation {
condition = contains(["Security Enforcement (NGTP)", "Full Package (NGTX + S1C)", "Full Package Premium (NGTX + S1C++)"], var.license-type)
error_message = "Allowed values for License Type are 'Security Enforcement (NGTP)', 'Full Package (NGTX + S1C)', 'Full Package Premium (NGTX + S1C++)'"
condition = contains(["Security Enforcement (NGTP)", "Full Package (NGTX and Smart1-Cloud)", "Full Package Premium (NGTX and Smart1-Cloud Premium)"], var.license-type)
error_message = "Allowed values for License Type are 'Security Enforcement (NGTP)', 'Full Package (NGTX and Smart1-Cloud)', 'Full Package Premium (NGTX and Smart1-Cloud Premium)'"
}
}

Expand Down