0
0
llucycodes42
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")}"
}