I came cross a nice Diagram as Code tool, it allows me to draw Cloud system architecture in Python code.
brew install graphviz pip install diagrams
Here is a sample code of using the tool to create the diagram of AWS transit gateway network architecture.
Run the script
python tgw-diagram.py, then you will see the nice diagram 😉