feat: add consul backend
- add consul backend
This commit is contained in:
parent
f8f1185b42
commit
c827daab6c
@ -169,7 +169,7 @@ locals {
|
||||
}
|
||||
consul_secret_backend = {
|
||||
for file_path, content in local.all_configs :
|
||||
trimsuffix(basename(file_path), ".yaml") => content
|
||||
trimsuffix(replace(file_path, "consul_secret_backend/", ""), ".yaml") => content
|
||||
if startswith(file_path, "consul_secret_backend/")
|
||||
}
|
||||
consul_secret_backend_role = {
|
||||
|
||||
6
config/consul_secret_backend/consul_root/au/syd1.yaml
Normal file
6
config/consul_secret_backend/consul_root/au/syd1.yaml
Normal file
@ -0,0 +1,6 @@
|
||||
description: "consul secret engine for au-syd1 cluster"
|
||||
default_lease_ttl_seconds: 600
|
||||
max_lease_ttl_seconds: 86400
|
||||
address: "consul.service.au-syd1.consul"
|
||||
scheme: https
|
||||
bootstrap: false
|
||||
Loading…
Reference in New Issue
Block a user