Skip to content

Latest commit

 

History

History
138 lines (116 loc) · 7.37 KB

NOTES.md

File metadata and controls

138 lines (116 loc) · 7.37 KB

SVG

  • vscode: extensions: SVG Viewer v1.4.4 by cssho

Icons

  • AWS Icons Package
  • PNG Icons used (in 'PNG, SVG, EPS' folder)
    • VPC
      • ..\General\General_virtualprivatecloud.png
      • ..\Compute\Compute_AmazonVPC.png
    • RDS
      • ..\Database\Database_AmazonRDS.png
    • WAF
      • ..\Security Identity & Compliance\SecurityIdentityCompliance_AWSWAF.png
    • Route Table
    • Subnet
      • Missing
    • Security Group
    • EC2 Instance
      • ..\Compute\Compute_AmazonEC2_instance.png
    • Application Load Balancer
      • ..\Networking & Content Delivery\NetworkingContentDelivery_ElasticLoadBalancing_ApplicationLoadBalancer.png
      • ..\Compute\Compute_ElasticLoadBalancing_ApplicationLoadBalancer.png
    • NAT Gateway
      • ..\Networking & Content Delivery\NetworkingContentDelivery_ElasticLoadBalancing_ApplicationLoadBalancer.png
      • ..\Compute\Compute_AmazonVPC_VPCNATgateway.png
    • Internet Gateway
      • ..\Compute\Compute_AmazonVPC_Internetgateway.png
    • VPC Peering
      • ..\Networking & Content Delivery\NetworkingContentDelivery_AmazonVPC_VPCpeering.png
      • ..\Compute\Compute_AmazonVPC_VPCpeering.png
    • Router
      • ..\Networking & Content Delivery\NetworkingContentDelivery_AmazonVPC_router.png

Layout Style Notes

  • Region: Outermost box, solid black line, transparent background, "AWS" logo in upper left, rounded corners, usually says "Region" at bottom. Not sure how multi-region diagrams look, initially only support one region.

  • VPC: Second most outermost box, solid black line, transparent background, "VPC" logo in upper left, rounded corners.

  • VPC Peering: Double-line joining the VPC boxes with VPC Peering icon in middle of line

  • Availability Zone: Orange dashed line box with light semi-transparent orange background. Name (ex. 'Availability Zone 1') in orange centered left to right, above bottom line of AZ box. If stacked vertically, left-right edges extend outside VPC box. If stacked horizontally, top-bottom edges extend outside VPC box.

  • Subnet: Entirely within VPC box, lock icon in upper left, solid black line, transparent background. Public subnets have light green background, Private subnets have a light blue background. Subnet name and CIDR centered left to right, above bottom line.

  • EC2 Instance: Orange box EC2 icon, Name in black text centered left to right and below box.

Script notes

Building / Packaging

  • pull gographviz dependency locally into src dir
    • go get github.com/awalterschulze/gographviz
  • output tfgraph.exe in Go-WS bin dir
    • go install

Building Misc Commands

  • previous tarball command (causes terraform symlink error on init)
    • 7z a -ttar -so archive.tar .\module\* | 7z a -sio tfgraph.tar.gz
  • output tfgraph.exe in project src dir
    • go build
  • move file to module dir
    • mv -Force tfgraph.exe .\module
  • create module zip
    • 7z a -tzip tfgraph.zip .\module\*