Skip to content

Commit

Permalink
remove comment
Browse files Browse the repository at this point in the history
  • Loading branch information
kevindelmont committed Jul 9, 2024
1 parent d8050ea commit 63d0926
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion modules/compute/virtual_machine_replication/module.tf
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ resource "azurerm_site_recovery_replicated_vm" "replication" {
try(var.resource_groups[var.client_config.landingzone_key][var.settings.replication.target.resource_group_key].id, null),
try(var.recovery_vaults[var.settings.replication.target.resource_group.lz_key][var.settings.replication.resource_group.key].id, null)
)
target_disk_type = try(var.settings.replication.target.os_disk_storage_type, var.virtual_machine_os_disk.storage_account_type) # When I retrieve the storage account type, the plan detects a change and rebuilds the replication item. If anyone has an idea how to solve this problem
target_disk_type = try(var.settings.replication.target.os_disk_storage_type, var.virtual_machine_os_disk.storage_account_type)
target_replica_disk_type = try(var.settings.replication.target.os_disk_replica_storage_type, var.settings.replication.target.os_disk_storage_type, var.virtual_machine_os_disk.storage_account_type)

target_disk_encryption_set_id = try(var.virtual_machine_os_disk.disk_encryption_set_id, null) == null || try(var.virtual_machine_os_disk.disk_encryption_set_id, "") == "" ? null : var.virtual_machine_os_disk.disk_encryption_set_id
Expand Down

0 comments on commit 63d0926

Please sign in to comment.