alicloud_cloud_firewall_instance

Provides a Cloud Firewall Instance resource.

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

Example Usage

Basic Usage

create a pay-as-you-go instance

resource "alicloud_cloud_firewall_instance" "PayAsYouGo" {
  payment_type = "PayAsYouGo"
}

create a subscription instance

resource "alicloud_cloud_firewall_instance" "Subscription" {
  payment_type = "Subscription"
  spec         = "premium_version"
  ip_number    = 20
  band_width   = 10
  cfw_log      = false
  period       = 1
}

Argument Reference

The following arguments are supported:

Attributes Reference

The following attributes are exported:

Import

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

$ terraform import alicloud_cloud_firewall_instance.example <id>