FEATURES PRICING ABOUT DOCS LOGIN

cloudstack_firewall

Creates firewall rules for a given IP address.

Example Usage

resource "cloudstack_firewall" "default" {
  ip_address_id = "30b21801-d4b3-4174-852b-0c0f30bdbbfb"

  rule {
    cidr_list = ["10.0.0.0/8"]
    protocol = "tcp"
    ports = ["80", "1000-2000"]
  }
}

Argument Reference

The following arguments are supported:

The rule block supports:

Attributes Reference

The following attributes are exported:


See the source of this document at Terraform.io

REQUEST A DEMO