github.com/anth0d/nomad@v0.0.0-20221214183521-ae3a0a2cad06/e2e/csi/input/ebs-volume0.hcl (about)

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