alicloud_service_mesh_versions
更新时间:
This data source provides ASM available versions in the specified region.
-> NOTE: Available in v1.161.0+.
Example Usage
Basic Usage
data "alicloud_service_mesh_versions" "default" {
edition = "Default"
}
output "service_mesh_version" {
value = data.alicloud_service_mesh_versions.versions.0.version
}
Argument Reference
The following arguments are supported:
-
ids- (Optional, ForceNew, Computed) The ASM versions available for the ASM instance of the current edition. Its element formats as<edition>:<version>. -
edition- (Optional, ForceNew) The edition of the ASM instance. Valid values:- Default: Standard Edition
- Pro: Professional Edition
-
output_file- (Optional) File name where to save data source results (after runningterraform plan).
Argument Reference
The following attributes are exported in addition to the arguments listed above:
ids- A list of ASM versions. Its element formats as<edition>:<version>.version- A list of Service Mesh Service Meshes. Each element contains the following attributes:id- The ASM version id. It formats as<edition>:<version>.version- The AMS version.edition- The edition of the ASM instance.
该文章对您有帮助吗?