Skip to content

SanazSlm/veetso-automation

Repository files navigation

veetso-automation

Phase 1 automation CLI for Veetso. Today this repo implements the Namecheap DNS confirmation gate and read-only inventory/drift.

Setup

cd veetso-automation
python3 -m venv .venv && source .venv/bin/activate
pip install -e ".[dev]"
export NAMECHEAP_API_USER=...
export NAMECHEAP_API_KEY=...
export NAMECHEAP_USERNAME=...   # often same as API user
export NAMECHEAP_CLIENT_IP=...  # allowlisted static IPv4

Run from the repository root (veetso-automation/) so configs/ and state/ paths resolve.

Commands

Read-only:

veetso inventory dns veetso.com
veetso drift dns --domain veetso.com --profile pre_cutover
veetso dns snapshot --all-domains

Apply (interactive token required — no bypass flags):

veetso reconcile dns --domain veetso.com --profile pre_cutover        # dry-run
veetso reconcile dns --domain veetso.com --profile pre_cutover --apply

Rollback from a JSON snapshot under state/snapshots/dns/:

veetso rollback dns --snapshot state/snapshots/dns/veetso.com__proposed__....json --domain veetso.com --apply

Tests

make test

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

Packages

Contributors

Languages