The following YAML CloudFormation stack creates an EBS volume returning its reference for further usage in a higher level template.
I’ve chosen to use the value “false” for SnapshotId when I have no desire to restore from a previously created snapshot.
Description: create an EBS data volume
Parameters:
DiskSize: