alicloud_ros_template_scratches

This data source provides the Ros Template Scratches of the current Alibaba Cloud user.

Example Usage

Basic Usage

data "alicloud_ros_template_scratches" "ids" {
  ids = ["example_value"]
}
output "ros_template_scratch_id_1" {
  value = data.alicloud_ros_template_scratches.ids.scratches.0.id
}

data "alicloud_ros_template_scratches" "status" {
  status = "GENERATE_COMPLETE"
}
output "ros_template_scratch_id_2" {
  value = data.alicloud_ros_template_scratches.status.scratches.0.id
}

data "alicloud_ros_template_scratches" "templateScratchType" {
  template_scratch_type = "ResourceImport"
}
output "ros_template_scratch_id_3" {
  value = data.alicloud_ros_template_scratches.templateScratchType.scratches.0.id
}

Argument Reference

The following arguments are supported:

Argument Reference

The following attributes are exported in addition to the arguments listed above: