Declarative Config Environment Variables

Hi all,

Im using kong with declarative config, and right now i have 3 datacenters. We are changing our DNS to identify the datacenters
Today https://api.xxx.com
Tomorrow: https://api-dc1.xxx.com

Is there any way to use some kind of environment variable or templating to change the DNS on the declarative file?

Thanks

1 Like

Nothing that exists today.
I recommend you use templating engines out there to get this done.
If you are using any configuration management software like Puppet, Ansible, Chef etc, they provide you with tooling to get this done too.

Hi,

Make sense, thanks