homelab-nomad/acls/nomad_vault_db.tf

18 lines
433 B
Terraform
Raw Normal View History

2022-05-13 02:27:52 +00:00
# resource "vault_mount" "db" {
# path = "database"
# type = "database"
# }
#
# resource "vault_database_secret_backend_connection" "mysql" {
# backend = vault_mount.db.path
# name = "mysql"
# allowed_roles = ["accessdb"]
#
# mysql {
# # How to give access here?
# connection_url = "{{username}}:{{password}}@tcp(mysql-server.service.consul:3306)"
2022-05-13 02:27:52 +00:00
# username = ""
# password = ""
# }
# }