alicloud_kms_network_rule

Provides a KMS Network Rule resource. Network rules that can be bound by Application Access Point's policies.

For information about KMS Network Rule and how to use it, see What is Network Rule.

Example Usage

Basic Usage

variable "name" {
  default = "terraform-example"
}


resource "alicloud_kms_network_rule" "default" {
  description       = "example-description"
  source_private_ip = ["10.10.10.10/24", "192.168.17.13", "100.177.24.254"]
  network_rule_name = var.name
}

Argument Reference

The following arguments are supported:

Attributes Reference

The following attributes are exported:

Timeouts

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

Import

KMS Network Rule can be imported using the id, e.g.

$ terraform import alicloud_kms_network_rule.example <id>