0
0
llucycodes42
The code creates a vault generic secret with the given id. The path is set to "secret/foo" and the data_json is set to a JSON object with the property "foo":"bar".
Shortcut: tf_vault_generic_secret
resource "vault_generic_secret" "vault_generic_secret_id" {
path = "secret/foo"
data_json = <<EOT
{
"foo":"bar"
}
EOT
}