okustera_compute_flavor (Data Source)
The okustera_compute_flavor data source queries hardware specifications for virtual machine sizing profiles (e.g. m1.small, m1.medium, c1.xlarge).
Example Usage
data "okustera_compute_flavor" "highmem" {
id = "m1.large"
}
output "flavor_vcpus" {
value = data.okustera_compute_flavor.highmem.vcpus
}
output "flavor_ram_mb" {
value = data.okustera_compute_flavor.highmem.ram_mb
}
Schema
Required
id(String) The flavor UUID or name to look up.
Read-Only Attributes
name(String) Human-readable flavor name.vcpus(Number) Count of allocated virtual CPUs.ram_mb(Number) RAM memory capacity in Megabytes.disk_gb(Number) Root disk storage in Gigabytes.