Skip to content

Commit ac6fc6b

Browse files
committed
Update module versions variables
1 parent 16bd6c0 commit ac6fc6b

File tree

14 files changed

+18
-18
lines changed

14 files changed

+18
-18
lines changed

modules/common/outputs.tf

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -30,8 +30,8 @@ output "template_name"{
3030
value = var.template_name
3131
}
3232

33-
output "template_version" {
34-
value = var.template_version
33+
output "module_version" {
34+
value = var.module_version
3535
}
3636

3737
output "bootstrap_script"{

modules/common/variables.tf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -118,7 +118,7 @@ variable "template_name"{
118118
type = string
119119
}
120120

121-
variable "template_version"{
121+
variable "module_version"{
122122
description = "Template name. Should be defined according to deployment type(e.g. ha, vmss)"
123123
type = string
124124
}

modules/management_new_vnet/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ provider "azurerm" {
2626
module "example_module" {
2727
2828
source = "CheckPointSW/cloudguard-network-security/azure//modules/management_new_vnet"
29-
version = "1.0.2"
29+
version = "1.0.3"
3030
3131
source_image_vhd_uri = "noCustomUri"
3232
resource_group_name = "checkpoint-mgmt-terraform"

modules/management_new_vnet/cloud-init.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ installationType="${installation_type}"
44
allowUploadDownload="${allow_upload_download}"
55
osVersion="${os_version}"
66
templateName="${template_name}"
7-
templateVersion="${template_version}"
7+
templateVersion="${module_version}"
88
templateType="${template_type}"
99
isBlink="${is_blink}"
1010
bootstrapScript64="${bootstrap_script64}"

modules/management_new_vnet/locals.tf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
locals {
22
template_name = "mgmt_terraform_registry"
3-
version = "1.0.2"
3+
module_version = "1.0.3"
44
}

modules/management_new_vnet/main.tf

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ module "common" {
66
admin_password = var.admin_password
77
installation_type = var.installation_type
88
template_name = local.template_name
9-
template_version = local.template_version
9+
module_version = local.module_version
1010
number_of_vm_instances = 1
1111
allow_upload_download = var.allow_upload_download
1212
vm_size = var.vm_size
@@ -263,7 +263,7 @@ resource "azurerm_virtual_machine" "mgmt-vm-instance" {
263263
allow_upload_download = module.common.allow_upload_download
264264
os_version = module.common.os_version
265265
template_name = module.common.template_name
266-
template_version = module.common.template_version
266+
module_version = module.common.module_version
267267
template_type = "terraform"
268268
is_blink = module.common.is_blink
269269
bootstrap_script64 = base64encode(var.bootstrap_script)

modules/single_gateway_new_vnet/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ provider "azurerm" {
2525
module "example_module" {
2626
2727
source = "CheckPointSW/cloudguard-network-security/azure//modules/single_gateway_new_vnet"
28-
version = "1.0.2"
28+
version = "1.0.3"
2929
3030
source_image_vhd_uri = "noCustomUri"
3131
resource_group_name = "checkpoint-single-gw-terraform"

modules/single_gateway_new_vnet/cloud-init.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ installationType="${installation_type}"
44
allowUploadDownload="${allow_upload_download}"
55
osVersion="${os_version}"
66
templateName="${template_name}"
7-
templateVersion="${template_version}"
7+
templateVersion="${module_version}"
88
templateType="${template_type}"
99
isBlink="${is_blink}"
1010
bootstrapScript64="${bootstrap_script64}"
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
locals {
22
template_name = "single_terraform_registry"
3-
version = "1.0.2"
3+
module_version = "1.0.3"
44
}

modules/single_gateway_new_vnet/main.tf

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ module "common" {
66
admin_password = var.admin_password
77
installation_type = var.installation_type
88
template_name = local.template_name
9-
template_version = local.version
9+
module_version = local.module_version
1010
number_of_vm_instances = 1
1111
allow_upload_download = var.allow_upload_download
1212
vm_size = var.vm_size
@@ -188,7 +188,7 @@ resource "azurerm_virtual_machine" "single-gateway-vm-instance" {
188188
allow_upload_download = module.common.allow_upload_download
189189
os_version = module.common.os_version
190190
template_name = module.common.template_name
191-
template_version = module.common.template_version
191+
module_version = module.common.module_version
192192
template_type = "terraform"
193193
is_blink = module.common.is_blink
194194
bootstrap_script64 = base64encode(var.bootstrap_script)

modules/vmss_new_vnet/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ provider "azurerm" {
2929
module "example_module" {
3030
3131
source = "CheckPointSW/cloudguard-network-security/azure//modules/vmss_new_vnet"
32-
version = "1.0.2"
32+
version = "1.0.3"
3333
3434
subscription_id = "xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx"
3535
source_image_vhd_uri = "noCustomUri"

modules/vmss_new_vnet/cloud-init.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ installationType="${installation_type}"
44
allowUploadDownload="${allow_upload_download}"
55
osVersion="${os_version}"
66
templateName="${template_name}"
7-
templateVersion="${template_version}"
7+
templateVersion="${module_version}"
88
templateType="${template_type}"
99
isBlink="${is_blink}"
1010
bootstrapScript64="${bootstrap_script64}"

modules/vmss_new_vnet/locals.tf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
locals {
22
template_name = "vmss_terraform_registry"
3-
version = "1.0.2"
3+
module_version = "1.0.3"
44
}

modules/vmss_new_vnet/main.tf

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ module "common" {
66
admin_password = var.authentication_type == "SSH Public Key" ? random_id.random_id.hex : var.admin_password
77
installation_type = var.installation_type
88
template_name = local.template_name
9-
template_version = local.template_version
9+
module_version = local.module_version
1010
number_of_vm_instances = var.number_of_vm_instances
1111
allow_upload_download = var.allow_upload_download
1212
vm_size = var.vm_size
@@ -257,7 +257,7 @@ resource "azurerm_linux_virtual_machine_scale_set" "vmss" {
257257
allow_upload_download = module.common.allow_upload_download
258258
os_version = module.common.os_version
259259
template_name = module.common.template_name
260-
template_version = module.common.template_version
260+
module_version = module.common.module_version
261261
template_type = "terraform"
262262
is_blink = module.common.is_blink
263263
bootstrap_script64 = base64encode(var.bootstrap_script)

0 commit comments

Comments
 (0)