cloudstack_ssh_keypair

    0

    0

    lucycodes42

    Terraform snippets

    The code creates a SSH keypair named "myResourceName" and stores the public key in the file "${file("~/.ssh/id_rsa.pub")}" in the project "myProject".

    Shortcut: tf_cloudstack_ssh_keypair

    resource "cloudstack_ssh_keypair" "${myResourceName}" {
       name = "my-${myResourceName}"
       public_key = "\${file("~/.ssh/id_rsa.pub")}"
       project = "myProject"
    }
    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.