github.com/hernad/nomad@v1.6.112/e2e/csi/input/ebs-volume0.hcl (about)

     1  # Copyright (c) HashiCorp, Inc.
     2  # SPDX-License-Identifier: MPL-2.0
     3  
     4  id        = "ebs-vol[0]"
     5  name      = "idempotency-token" # CSIVolumeName tag, must be idempotent
     6  type      = "csi"
     7  plugin_id = "aws-ebs0"
     8  
     9  capacity_min = "10GiB"
    10  capacity_max = "20GiB"
    11  
    12  capability {
    13    access_mode     = "single-node-writer"
    14    attachment_mode = "file-system"
    15  }
    16  
    17  capability {
    18    access_mode     = "single-node-writer"
    19    attachment_mode = "block-device"
    20  }
    21  
    22  parameters {
    23    type = "gp2"
    24  }
    25  
    26  topology_request {
    27    required {
    28      topology {
    29        segments {
    30          # this zone should match the one set in e2e/terraform/variables.tf
    31          "topology.ebs.csi.aws.com/zone" = "us-east-1b"
    32        }
    33      }
    34    }
    35  }