scalr_module_versions
Data Source: scalr_module_versions
Retrieves a list of module versions by module source or module id.
Example Usage
data "scalr_module_versions" "example1" {
id = "mod-xxxxxxxxxx"
}
data "scalr_module_versions" "example2" {
source = "env-xxxxxxxxxx/module-name/scalr"
}
data "scalr_module_versions" "example3" {
id = "mod-xxxxxxxxxx"
source = "env-xxxxxxxxxx/module-name/scalr"
}
Schema
Optional
id
(String) The identifier of а module. Example:mod-xxxx
source
(String) The source of a module.
Read-Only
versions
(Set of Object) The list of semantic versions. (see below for nested schema)
Nested Schema for versions
versions
Read-Only:
id
(String)status
(String)version
(String)
Updated 12 days ago