alicloud_threat_detection_honey_pots

更新时间:

This data source provides Threat Detection Honey Pot available to the user.What is Honey Pot

-> NOTE: Available since v1.195.0.

Example Usage

Basic Usage

data "alicloud_threat_detection_honey_pots" "default" {
  ids           = ["xxxx"]
  honeypot_name = "tf-example"
  node_id       = "a44e1ab3-6945-444c-889d-5bacee7056e8"
}

output "alicloud_threat_detection_honey_pot_example_id" {
  value = data.alicloud_threat_detection_honey_pots.default.pots.0.id
}

Argument Reference

The following arguments are supported:

  • ids - (Optional, ForceNew) A list of Honey Pot IDs.
  • honeypot_id - (Optional, ForceNew) Honeypot ID.
  • honeypot_name - (Optional, ForceNew) Honeypot custom name.
  • name_regex - (Optional, ForceNew) A regex string to filter results by honey pot name.
  • node_id - (Optional, ForceNew) The ID of the honeypot management node.
  • node_name - (Optional, ForceNew) The name of the honeypot management node.
  • output_file - (Optional) File name where to save data source results (after running terraform plan).

Attributes Reference

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

  • ids - A list of Honey Pot IDs.
  • pots - A list of Honey Pot Entries. Each element contains the following attributes:
    • id - Honeypot ID. The value is the same as honeypot_id.
    • honeypot_id - Honeypot ID.
    • honeypot_image_id - The image ID of the honeypot.
    • honeypot_image_name - Honeypot mirror name.
    • honeypot_name - Honeypot custom name.
    • node_id - The ID of the honeypot management node.
    • preset_id - The custom parameter ID of honeypot.
    • state - Honeypot status.
    • status - The status of the resource