Skip to content

Commit

Permalink
Merge pull request #329 from chengwang514/aci_network
Browse files Browse the repository at this point in the history
Added missing argument: "virtual_machine_os_type" in vm_extensions.tf
  • Loading branch information
arnaudlh committed Mar 14, 2022
2 parents e7f1a8b + 5e9134e commit 0fc005e
Showing 1 changed file with 8 additions and 7 deletions.
15 changes: 8 additions & 7 deletions caf_solution/vm_extensions.tf
Original file line number Diff line number Diff line change
Expand Up @@ -104,10 +104,11 @@ module "vm_extension_custom_scriptextension" {
if try(value.virtual_machine_extensions.custom_script, null) != null
}

client_config = module.solution.client_config
virtual_machine_id = module.solution.virtual_machines[each.key].id
extension = each.value.virtual_machine_extensions.custom_script
extension_name = "custom_script"
managed_identities = merge(tomap({ (var.landingzone.key) = module.solution.managed_identities }), try(local.remote.managed_identities, {}))
storage_accounts = merge(tomap({ (var.landingzone.key) = module.solution.storage_accounts }), try(local.remote.storage_accounts, {}))
}
client_config = module.solution.client_config
virtual_machine_id = module.solution.virtual_machines[each.key].id
virtual_machine_os_type = module.solution.virtual_machines[each.key].os_type
extension = each.value.virtual_machine_extensions.custom_script
extension_name = "custom_script"
managed_identities = merge(tomap({ (var.landingzone.key) = module.solution.managed_identities }), try(local.remote.managed_identities, {}))
storage_accounts = merge(tomap({ (var.landingzone.key) = module.solution.storage_accounts }), try(local.remote.storage_accounts, {}))
}

0 comments on commit 0fc005e

Please sign in to comment.