terraform/examples/alicloud-ecs/outputs.tf

15 lines
346 B
HCL

output "hostname_list" {
value = "${join(",", alicloud_instance.instance.*.instance_name)}"
}
output "ecs_ids" {
value = "${join(",", alicloud_instance.instance.*.id)}"
}
output "ecs_public_ip" {
value = "${join(",", alicloud_instance.instance.*.public_ip)}"
}
output "tags" {
value = "${jsonencode(alicloud_instance.instance.tags)}"
}