packet_volume

    0

    0

    lucycodes42

    Terraform snippets

    This code declares a resource called "packet_volume" with the following properties:

    name: "my-${myResourceName}"

    description: "my-description-${myResourceName}"

    facility: "ewr1"

    project_id: "${packet_project.cool_project.

    Shortcut: tf_packet_volume

    resource "packet_volume" "${myResourceName}" {
       name = "my-${myResourceName}"
       description = "my-description-${myResourceName}"
    
       facility = "ewr1"
       project_id = "\${packet_project.cool_project.id}"
       plan = "storage_1"
       size = 100
       billing_cycle = "hourly"
       snapshot_policies = { snapshot_frequency = "1day", snapshot_count = 7 }
       snapshot_policies = { snapshot_frequency = "1month", snapshot_count = 6 }
    }
    Codiga Logo
    Codiga Hub
    • Rulesets
    • Playground
    • Snippets
    • Cookbooks
    Legal
    • Security
    • Privacy Policy
    • Code Privacy
    • Terms of Service
    soc-2 icon

    We are SOC-2 Compliance Certified

    G2 high performer medal

    Codiga – All rights reserved 2022.