Skip to content

Commit

Permalink
terraform fmt
Browse files Browse the repository at this point in the history
  • Loading branch information
louisehuyton committed Sep 5, 2024
1 parent 0eb1339 commit 7033e9a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion run_command.tf
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ resource "azurerm_virtual_machine_scale_set_extension" "azure_vmss_run_command"
type_handler_version = lower(var.os_type) == "linux" ? var.run_command_type_handler_version : var.run_command_type_handler_version_windows
auto_upgrade_minor_version = true

protected_settings = lower(var.os_type) == "linux" ? jsonencode({ commandToExecute = tostring(templatefile("${path.module}/scripts/linux_run_script.sh", {
protected_settings = lower(var.os_type) == "linux" ? jsonencode({ commandToExecute = tostring(templatefile("${path.module}/scripts/linux_run_script.sh", {
STORAGE_ACCOUNT_KEY = var.run_command_sa_key
RUN_XDR_COLLECTOR = var.run_xdr_collector ? "true" : "false"
RUN_XDR_AGENT = var.run_xdr_agent ? "true" : "false"
Expand Down

0 comments on commit 7033e9a

Please sign in to comment.