kind: StorageClass apiVersion: storage.k8s.io/v1 metadata: name: ebs-sc provisioner: ebs.csi.aws.com volumeBindingMode: WaitForFirstConsumer parameters: csi.storage.k8s.io/fstype: xfs type: gp2 {% if restrict_az_provisioning %} allowedTopologies: - matchLabelExpressions: - key: topology.ebs.csi.aws.com/zone values: {% for value in aws_ebs_availability_zones %} - {{ value }} {% endfor %} {% endif %}