treasuremap/tools/files/heat-vm-volume-attach.yaml
Kaspars Skels 1094488b0a Basic tests for airship-seaworthy deployment
Change-Id: I1a4cd173371dbfebf454d6385aa67882437dda0c
2018-10-01 13:02:55 +00:00

21 lines
373 B
YAML

heat_template_version: 2016-10-14
parameters:
instance_uuid:
type: string
resources:
cinder_volume:
type: OS::Cinder::Volume
properties:
name: vol1
size: 1
cinder_volume_attach:
type: OS::Cinder::VolumeAttachment
properties:
instance_uuid:
get_param: instance_uuid
volume_id:
get_resource: cinder_volume