puppet-prod/hieradata/country/au/region/syd1/infra/storage/vault.yaml
2024-04-28 14:06:49 +10:00

19 lines
544 B
YAML

---
profiles::vault::server::primary_datacenter: 'au-syd1'
consul::services:
vault:
service_name: 'vault'
tags:
- 'https'
- 'secure'
address: "%{facts.networking.ip}" # Dynamically set from the networking facts
port: 443
checks:
- check_id: 'vault_https_check'
name: 'Vault HTTPS Check'
http: "https://%{facts.networking.fqdn}:443/v1/sys/health"
method: 'GET'
tls_skip_verify: true # Set to false in production for security
interval: '10s'
timeout: '1s'