daml/infra/windows.tf
Gary Verhaegen fc7c99a8a1
infra: tweak Azure config (#16873)
- Change machine types to be closer to GCP profiles.
- Set partition sizes correctly on Windows (bigger disks mean little if
  partitions don't match).
- Enable full caching on disk access as the only downside seems to be
  "risk of data loss if the machine shuts down unexpectedly", and we
  never want a machine to come back if it shut down.
2023-05-17 11:55:10 +02:00

39 lines
830 B
HCL

# Copyright (c) 2023 Digital Asset (Switzerland) GmbH and/or its affiliates. All rights reserved.
# SPDX-License-Identifier: Apache-2.0
locals {
vsts_token = secret_resource.vsts-token.value
vsts_account = "digitalasset"
vsts_pool = "windows-pool"
windows = {
gcp = [
{
name = "ci-w1",
size = 0,
assignment = "default",
disk_size = 400,
},
{
name = "ci-w2"
size = 0,
assignment = "default",
disk_size = 400,
},
],
azure = [
{
name = "dw1",
size = 6,
assignment = "default",
disk_size = 400,
},
{
name = "dw2"
size = 0,
assignment = "default",
disk_size = 400,
},
],
}
}