resource "cloudstack_network_acl_rule" "${myResourceName}" {
         acl_id = "f3843ce0-334c-4586-bbd3-0c2e2bc946c6"]]
      
         rule {
             action = "allow"
             cidr_list = ["10.0.0.0/8"]
             protocol = "tcp"
             ports = ["80", "1000-2000"]
             traffic_type = "ingress"
         }
      }

      Terraform language logo
      cloudstack_network_acl_rule

      Terraform snippets

      This code defines a rule that allows incoming TCP traffic on ports 80 and 1000-2000 from the 10.0.0.0/8 cidr_list.

      Shortcut: tf_cloudstack_network_acl_rule

      0 Comments

        Add Comment

        Log in to add a comment

        Codiga - All rights reserved 2022.