This commit is contained in:
5
vault-secret.tf
Normal file
5
vault-secret.tf
Normal file
@@ -0,0 +1,5 @@
|
||||
resource "vault_kv_secret_v2" "this" {
|
||||
mount = "secret"
|
||||
name = "${var.instance_name}/${var.database_name}"
|
||||
data_json = jsonencode(local.database_access)
|
||||
}
|
||||
Reference in New Issue
Block a user