resource "triton_firewall_rule" "${myResourceName}" {
         name = "my-${myResourceName}"
         description = "my-description-${myResourceName}"
      
         rule = "FROM any TO tag www ALLOW tcp (PORT 80 AND PORT 443)"
         enabled = true
      }

      Terraform language logo
      triton_firewall_rule

      Terraform snippets

      The code creates a new triton_firewall_rule resource with the name my-description-example and describes it as a rule that allows TCP traffic from any IP address to the website www on port 80 and port 443. The rule is enabled and set to True.

      Shortcut: tf_triton_firewall_rule

      0 Comments

        Add Comment

        Log in to add a comment

        Codiga - All rights reserved 2022.