» alicloud_pvtz_zone_records
This data source provides Private Zone Records resource information owned by an Alibaba Cloud account.
» Example Usage
data "alicloud_pvtz_zone_records" "records_ds" {
zone_id = "${alicloud_pvtz_zone.basic.id}"
keyword = "${alicloud_pvtz_zone_record.foo.value}"
}
output "first_record_id" {
value = "${data.alicloud_pvtz_zone_records.records_ds.records.0.id}"
}
» Argument Reference
The following arguments are supported:
-
keyword
- (Optional) Keyword for record rr and value. -
zone_id
- (Required) ID of the Private Zone. -
output_file
- (Optional) File name where to save data source results (after runningterraform plan
).
» Attributes Reference
The following attributes are exported in addition to the arguments listed above:
-
records
- A list of zone records. Each element contains the following attributes: