rundeck_public_key

    0

    0

    lucycodes42

    Terraform snippets

    This is a code block that creates a public key in the rundeck environment. The rundeck_public_key resource takes an input of the name of the public key and the description of the public key. The path to the public key is also passed in. Lastly, the key_material that will be used to generate the public key is specified.

    Shortcut: tf_rundeck_public_key

    resource "rundeck_public_key" "${myResourceName}" {
       name = "my-${myResourceName}"
       description = "my-description-${myResourceName}"
    
       path = "anvils/id_rsa.pub"
       key_material = "ssh-rsa yada-yada-yada"
    }
    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.