Skip to main content

ADRs

The InfraSec ADR template can be found at docs/templates/adr-infrasec.md. Add a number prefix of four digits and name your ADR when adding it to docs/infrasec/adrs/ as a Markdown file to start your own ADR.

export TWEP_NUM_ADR=$(($(find docs/infrasec/adrs | grep -E '[0-9]+-.*\.mdx?' | wc -l)+1))
export TWEP_NUM_PREFIX=$(printf '%04d' "$TWEP_NUM_ADR")
cp docs/templates/adr-infrasec.md ${#TWEP_NUM_PREFIX}-my-latest-adr.md
unset TWEP_NUM_PREFIX
unset TWEP_NUM_ADR