Provides information about available operating systems for Vultr VPS instances, allowing filtering by attributes like name.
Get information about operating systems that can be launched when creating a Vultr VPS.
Get the information for an operating system by name
:
data "vultr_os" "centos" {
filter {
name = "name"
values = ["CentOS 7 x64"]
}
}
The following arguments are supported:
filter
- (Required) Query parameters for finding operating systems.The filter
block supports the following:
name
- Attribute name to filter with.values
- One or more values filter with.The following attributes are exported:
name
- The name of the operating system.arch
- The architecture of the operating system.family
- The family of the operating system.
No comments yet.