diff --git a/openstack/init/04-cinder-type.tf b/openstack/init/04-cinder-type.tf new file mode 100644 index 0000000..53b7232 --- /dev/null +++ b/openstack/init/04-cinder-type.tf @@ -0,0 +1,17 @@ +resource "openstack_blockstorage_volume_type_v3" "cinder-t1" { + name = "cinder-t1" + description = "Cinder Ceph type" + is_public = true + extra_specs = { + volume_backend_name = "cinder-ceph" + } +} + +resource "openstack_blockstorage_volume_type_v3" "cinder-t2" { + name = "cinder-t2" + description = "Cinder Ceph pool2 type" + is_public = true + extra_specs = { + volume_backend_name = "cinder-ceph-pool2" + } +} diff --git a/openstack/stsstack.tfvars b/openstack/stsstack.tfvars new file mode 100644 index 0000000..9db6fbb --- /dev/null +++ b/openstack/stsstack.tfvars @@ -0,0 +1,2 @@ +cloud = "stsstack" +domain_id = "3739b5bb4e9e417da4ecd72e5efd1185"