resource "cloudstack_firewall" "${myResourceName}" {
         network_id = "6eb22f91-7454-4107-89f4-36afcdf33021"
      
         rule {
             cidr_list = ["10.0.0.0/8"]
             protocol = "tcp"
             ports = ["80", "1000-2000"]
         }
      }

      Terraform language logo
      cloudstack_firewall

      Terraform snippets

      The code creates a new firewall rule that allows TCP connection to port 80 and ports 1000-2000 on the network_id of 6eb22f91-7454-4107-89f4-36afcdf33021.

      Shortcut: tf_cloudstack_firewall

      0 Comments

        Add Comment

        Log in to add a comment

        Codiga - All rights reserved 2022.