triton_firewall_rule

    0

    0

    lucycodes42

    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

    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
    }
    Codiga Logo
    Codiga Hub
    • Rulesets
    • Explore
    • Cookbooks
    • Playground
    soc-2 icon

    We are SOC-2 Compliance Certified

    G2 high performer medal

    Codiga – All rights reserved 2022.