Skip to content

Commit af3b245

Browse files
feat(VSECPC-11874): Azure | Terraform Registry | Update StorageAccount kind to V2
Co-authored-by: noamerez <noamerez@checkpoint.com>
1 parent ab8696b commit af3b245

10 files changed

Lines changed: 10 additions & 6 deletions

File tree

modules/high_availability_existing_vnet/main.tf

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -316,6 +316,7 @@ resource "azurerm_storage_account" "vm-boot-diagnostics-storage" {
316316
location = module.common.resource_group_location
317317
account_tier = module.common.storage_account_tier
318318
account_replication_type = module.common.account_replication_type
319+
account_kind = "StorageV2"
319320
min_tls_version = "TLS1_2"
320321
network_rules {
321322
default_action = var.add_storage_account_ip_rules ? "Deny" : "Allow"

modules/high_availability_new_vnet/main.tf

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -326,6 +326,7 @@ resource "azurerm_storage_account" "vm-boot-diagnostics-storage" {
326326
location = module.common.resource_group_location
327327
account_tier = module.common.storage_account_tier
328328
account_replication_type = module.common.account_replication_type
329+
account_kind = "StorageV2"
329330
min_tls_version = "TLS1_2"
330331
network_rules {
331332
default_action = var.add_storage_account_ip_rules ? "Deny" : "Allow"

modules/management_existing_vnet/main.tf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -192,7 +192,7 @@ resource "azurerm_storage_account" "vm-boot-diagnostics-storage" {
192192
location = module.common.resource_group_location
193193
account_tier = module.common.storage_account_tier
194194
account_replication_type = module.common.account_replication_type
195-
account_kind = "Storage"
195+
account_kind = "StorageV2"
196196
min_tls_version = "TLS1_2"
197197
network_rules {
198198
default_action = var.add_storage_account_ip_rules ? "Deny" : "Allow"

modules/management_new_vnet/main.tf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -199,7 +199,7 @@ resource "azurerm_storage_account" "vm-boot-diagnostics-storage" {
199199
location = module.common.resource_group_location
200200
account_tier = module.common.storage_account_tier
201201
account_replication_type = module.common.account_replication_type
202-
account_kind = "Storage"
202+
account_kind = "StorageV2"
203203
min_tls_version = "TLS1_2"
204204
network_rules {
205205
default_action = var.add_storage_account_ip_rules ? "Deny" : "Allow"

modules/mds_existing_vnet/main.tf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -192,7 +192,7 @@ resource "azurerm_storage_account" "vm-boot-diagnostics-storage" {
192192
location = module.common.resource_group_location
193193
account_tier = module.common.storage_account_tier
194194
account_replication_type = module.common.account_replication_type
195-
account_kind = "Storage"
195+
account_kind = "StorageV2"
196196
min_tls_version = "TLS1_2"
197197
network_rules {
198198
default_action = var.add_storage_account_ip_rules ? "Deny" : "Allow"

modules/mds_new_vnet/main.tf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -199,7 +199,7 @@ resource "azurerm_storage_account" "vm-boot-diagnostics-storage" {
199199
location = module.common.resource_group_location
200200
account_tier = module.common.storage_account_tier
201201
account_replication_type = module.common.account_replication_type
202-
account_kind = "Storage"
202+
account_kind = "StorageV2"
203203
min_tls_version = "TLS1_2"
204204
network_rules {
205205
default_action = var.add_storage_account_ip_rules ? "Deny" : "Allow"

modules/single_gateway_existing_vnet/main.tf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -121,7 +121,7 @@ resource "azurerm_storage_account" "vm-boot-diagnostics-storage" {
121121
location = module.common.resource_group_location
122122
account_tier = module.common.storage_account_tier
123123
account_replication_type = module.common.account_replication_type
124-
account_kind = "Storage"
124+
account_kind = "StorageV2"
125125
min_tls_version = "TLS1_2"
126126
network_rules {
127127
default_action = var.add_storage_account_ip_rules ? "Deny" : "Allow"

modules/single_gateway_new_vnet/main.tf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -122,7 +122,7 @@ resource "azurerm_storage_account" "vm-boot-diagnostics-storage" {
122122
location = module.common.resource_group_location
123123
account_tier = module.common.storage_account_tier
124124
account_replication_type = module.common.account_replication_type
125-
account_kind = "Storage"
125+
account_kind = "StorageV2"
126126
min_tls_version = "TLS1_2"
127127
network_rules {
128128
default_action = var.add_storage_account_ip_rules ? "Deny" : "Allow"

modules/vmss_existing_vnet/main.tf

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -193,6 +193,7 @@ resource "azurerm_storage_account" "vm-boot-diagnostics-storage" {
193193
location = module.common.resource_group_location
194194
account_tier = module.common.storage_account_tier
195195
account_replication_type = module.common.account_replication_type
196+
account_kind = "StorageV2"
196197
min_tls_version = "TLS1_2"
197198
network_rules {
198199
default_action = var.add_storage_account_ip_rules ? "Deny" : "Allow"

modules/vmss_new_vnet/main.tf

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -195,6 +195,7 @@ resource "azurerm_storage_account" "vm-boot-diagnostics-storage" {
195195
location = module.common.resource_group_location
196196
account_tier = module.common.storage_account_tier
197197
account_replication_type = module.common.account_replication_type
198+
account_kind = "StorageV2"
198199
min_tls_version = "TLS1_2"
199200
network_rules {
200201
default_action = var.add_storage_account_ip_rules ? "Deny" : "Allow"

0 commit comments

Comments
 (0)