alicloud_sddp_rules

This data source provides the Sddp Rules of the current Alibaba Cloud user.

Example Usage

Basic Usage

resource "alicloud_sddp_rule" "default" {
  category      = "0"
  content       = "content"
  rule_name     = "rule_name"
  risk_level_id = "4"
  product_code  = "ODPS"
}

data "alicloud_sddp_rules" "default" {
  ids = [alicloud_sddp_rule.default.id]
}
output "sddp_rule_id" {
  value = data.alicloud_sddp_rules.default.id
}

Argument Reference

The following arguments are supported:

Argument Reference

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