Skip to content

[NEW] Equivalent of openstack_blockstorage_volume_v3 & openstack_compute_volume_attach_v2 #1249

@scraly

Description

@scraly

Description

Now, to create a block storage volume v3, the user must use the openstack provider:

resource "openstack_blockstorage_volume_v3" "volume" {
  region          = var.region_name
  name        = "${var.demo_name}-data"
  size        = var.volume_size
  volume_type = "classic-multiattach"
}

resource "openstack_compute_volume_attach_v2" "volume_attach" {
  count = 3

  region      = var.region_name
  instance_id = openstack_compute_instance_v2.instance[count.index].id
  volume_id   = openstack_blockstorage_volume_v3.volume.id
  multiattach = true
}

The goal is to use the ovh provider to do it.

Thanks :)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions