0
0
llucycodes42
The code above creates a Cobbler snippet named my-description-${myResourceName} with the following content:
<content of snippet> This is a Cobbler snippet for my-${myResourceName}Shortcut: tf_cobbler_snippet
resource "cobbler_snippet" "${myResourceName}" {
name = "my-${myResourceName}"
description = "my-description-${myResourceName}"
body = "<content of snippet>"
}