rundeck_private_key

    0

    0

    lucycodes42

    Terraform snippets

    The code creates a private key called "myResourceName" and sets its name, description, and path. The key_material variable contains the path to the file that contains the private key's public key.

    Shortcut: tf_rundeck_private_key

    resource "rundeck_private_key" "${myResourceName}" {
       name = "my-${myResourceName}"
       description = "my-description-${myResourceName}"
    
       path = "anvils/id_rsa"
       key_material = "\${file("/id_rsa")}"
    }
    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.