alicloud_cloud_firewall_control_policy

Provides a Cloud Firewall Control Policy resource.

For information about Cloud Firewall Control Policy and how to use it, see What is Control Policy.

Example Usage

Basic Usage

resource "alicloud_cloud_firewall_control_policy" "example" {
  application_name = "ANY"
  acl_action       = "accept"
  description      = "example"
  destination_type = "net"
  destination      = "100.1.1.0/24"
  direction        = "out"
  proto            = "ANY"
  source           = "1.2.3.0/24"
  source_type      = "net"
}

Argument Reference

The following arguments are supported:

Attributes Reference

The following attributes are exported:

Import

Cloud Firewall Control Policy can be imported using the id, e.g.

$ terraform import alicloud_cloud_firewall_control_policy.example <acl_uuid>:<direction>