Skip to content

Commit

Permalink
adds diagram
Browse files Browse the repository at this point in the history
  • Loading branch information
Cesar Rodriguez committed Aug 16, 2020
1 parent 1f7810b commit 09d0f6d
Show file tree
Hide file tree
Showing 4 changed files with 14 additions and 1 deletion.
7 changes: 7 additions & 0 deletions docs/architecture.diagrams.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
from diagrams import Cluster, Diagram
from diagrams.onprem.iac import Terraform


with Diagram("Terrascan architecture"):
Terraform("IaC Provider")

2 changes: 1 addition & 1 deletion docs/architecture.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,5 +2,5 @@

Terrascan's architecture is built to be modular and easy to add IaC languages and policies. At a high level Terrascan is composed of the following architectural components: the command line interface, API server, runtime, pluggable IaC proviers, pluggable policy engine, notifier, and writter.


![Terrascan architecture](terrascan_architecture.png)

1 change: 1 addition & 0 deletions docs/requirements.txt
Original file line number Diff line number Diff line change
@@ -1,2 +1,3 @@
mkdocs==1.1.2
mkdocs-material==5.5.6
mkdocs-diagrams==0.0.2
5 changes: 5 additions & 0 deletions mkdocs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -59,3 +59,8 @@ markdown_extensions:
google_analytics:
- UA-XXXXXXXX-X
- auto

# Plugins
plugins:
- diagrams
- search

0 comments on commit 09d0f6d

Please sign in to comment.