1. DRY (don't repeat yourself)

  1. DRY (don't repeat yourself)

  1. DRY (don't repeat yourself)

What is DRY config?

What is DRY config?

Config variable names are declared once, and then flexible variable values are injected as needed across build, deploy, and run-time phases in the form of defaults, inheritances and overrides.

Config variable names are declared once, and then flexible variable values are injected as needed across build, deploy, and run-time phases in the form of defaults, inheritances and overrides.

Why DRY config?

Why DRY config?

  1. Avoid errors by allowing single changes to propagate where they are needed.


  2. No more copy-and-paste errors.

  1. Avoid errors by allowing single changes to propagate where they are needed.


  2. No more copy-and-paste errors.

Benefits

Benefits

  1. DRY solves forgetting to update critical secrets or parameters.


  2. Synchronize related changes.

  1. DRY solves forgetting to update critical secrets or parameters.


  2. Synchronize related changes.

Examples

Examples

  1. Sync both the client and server port numbers.


  2. Rotate secrets by making a change in one place.

  1. Sync both the client and server port numbers.


  2. Rotate secrets by making a change in one place.