openstack_compute_flavor_v2

Use this data source to get the ID of an available OpenStack flavor.

Example Usage

data "openstack_compute_flavor_v2" "small" {
  vcpus = 1
  ram   = 512
}

Argument Reference

Attributes Reference

id is set to the ID of the found flavor. In addition, the following attributes are exported: