alicloud_threat_detection_honeypot_preset

Provides a Threat Detection Honeypot Preset resource.

For information about Threat Detection Honeypot Preset and how to use it, see What is Honeypot Preset.

Example Usage

Basic Usage

variable "name" {
  default = "tfexample"
}
data "alicloud_threat_detection_honeypot_images" "default" {
  name_regex = "^ruoyi"
}
resource "alicloud_threat_detection_honeypot_node" "default" {
  node_name                    = var.name
  available_probe_num          = 20
  security_group_probe_ip_list = ["0.0.0.0/0"]
}

resource "alicloud_threat_detection_honeypot_preset" "default" {
  preset_name         = var.name
  node_id             = alicloud_threat_detection_honeypot_node.default.id
  honeypot_image_name = data.alicloud_threat_detection_honeypot_images.default.images.0.honeypot_image_name
  meta {
    portrait_option = true
    burp            = "open"
  }
}

Argument Reference

The following arguments are supported:

meta

The meta supports the following:

Attributes Reference

The following attributes are exported:

Timeouts

The timeouts block allows you to specify timeouts for certain actions:

Import

Threat Detection Honeypot Preset can be imported using the id, e.g.

$terraform import alicloud_threat_detection_honeypot_preset.example <id>