softlayer_ssh_key

    0

    0

    lucycodes42

    Terraform snippets

    The code creates a key named my-resource-name and stores the key's public key in the variable public_key.

    Shortcut: tf_softlayer_ssh_key

    resource "softlayer_ssh_key" "${myResourceName}" {
       name = "my-${myResourceName}"
       notes = "test_ssh_key_notes"
       public_key = "ssh-rsa <rsa_public_key>"
    }
    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.