This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
from diagrams import Diagram # importing diagram package | |
from diagrams.aws.compute import EC2 # importing AWS EC2 resource | |
with Diagram("Simple Diagram"): # "Simple Diagram" is the name of the diagram. The image will be stored as "simple_diagram.png" | |
EC2("web") # An icon of EC2 will be generated with the name "web" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment