Terraform snippets

    The code above specifies a Triton provider. Within the provider, an account (AccountName) and key material are defined. The key_id is also defined, which is used to identify the key when it is uploaded to the Triton server. Finally, the URL for accessing the Triton server is specified.

    Shortcut: tf_triton

    provider "triton" {
       account      = "AccountName"
       key_material = "\${file("~/.ssh/id_rsa")}"
       key_id       = "25:d4:a9:fe:ef:e6:c0:bf:b4:4b:4b:d4:a8:8f:01:0f"
       # If using a private installation of Triton, specify the URL
       url = ""
    Codiga Logo
    Codiga Hub
    • Rulesets
    • Playground
    • Snippets
    • Cookbooks
    • 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.