0
0
llucycodes42
The code defines a resource named "triton_key" and sets its name to "my-${myResourceName}" and its description to "my-description-${myResourceName}" The resource's key is set to the value of the file("keys/id_rsa") variable.
Shortcut: tf_triton_key
resource "triton_key" "${myResourceName}" {
name = "my-${myResourceName}"
description = "my-description-${myResourceName}"
key = "\${file("keys/id_rsa")}"
}