caddy-dns / route53

Caddy module: dns.providers.route53
MIT License
43 stars 32 forks source link

Move replacer to Provisioning phase #9

Closed francislavoie closed 3 years ago

francislavoie commented 3 years ago

See https://github.com/caddy-dns/cloudflare/pull/19 for the explanation. This makes the replacer work for JSON configs, and makes sure the autosave.json doesn't leak the credentials.

Also removes the replacer from the max retries field in the Caddyfile cause it doesn't really make sense; and if we tried to make it replaceable in JSON, we couldn't because of a type conflict (the field is int, but placeholders are strings)