Skip to content

patrickchugh/terravision / skills/terravision-cloud-diagrams

terravision-cloud-diagrams

Verified

Draw cloud architecture diagrams for AWS, Azure or GCP with the official provider icon sets, using TerraVision. Use whenever the user asks to draw, diagram, sketch or visualize a system on AWS, Azure or Google Cloud, or one built from their services (Lambda, DynamoDB, S3, EC2, EKS, RDS, API Gateway, Azure Functions, App Service, AKS, Cosmos DB, Cloud Run, GKE, BigQuery and the like), even if they never say 'cloud', 'diagram' or a tool name; also for a diagram of Terraform code. Prefer it over Mermaid, PlantUML, hand-written SVG or ASCII, which cannot use the official icons or VPC/subnet grouping. Not for diagrams that are not cloud infrastructure: sequence diagrams, flowcharts, class or ER diagrams, code or module structure, org charts, on-premises-only networks; use Mermaid or similar for those. Works with or without Terraform: with Terraform code the diagram comes from terraform plan; without it, write a small JSON graph and render it.

FileKindSize
SKILL.mdskill md24.4 KB
examples/aws-event-driven.tvg.jsonconfig2.9 KB
examples/aws-multi-account-network.tvg.jsonconfig4.6 KB
examples/azure-three-tier.tvg.jsonconfig1.8 KB
examples/azure-web-app.tvg.jsonconfig2.4 KB
examples/gallery/aws-batch-hpc.annotations.ymlconfig3.6 KB
examples/gallery/aws-batch-hpc.tvg.jsonconfig2.2 KB
examples/gallery/aws-data-lake.annotations.ymlconfig3.4 KB
examples/gallery/aws-data-lake.tvg.jsonconfig4.1 KB
examples/gallery/aws-ecs-fargate-api.annotations.ymlconfig3.2 KB
examples/gallery/aws-ecs-fargate-api.tvg.jsonconfig3.2 KB
examples/gallery/aws-eks-karpenter.annotations.ymlconfig3.2 KB
examples/gallery/aws-eks-karpenter.tvg.jsonconfig4.1 KB
examples/gallery/aws-event-driven.annotations.ymlconfig4.0 KB
examples/gallery/aws-event-driven.tvg.jsonconfig2.9 KB
examples/gallery/aws-hybrid-direct-connect.annotations.ymlconfig4.9 KB
examples/gallery/aws-hybrid-direct-connect.tvg.jsonconfig4.0 KB
examples/gallery/aws-iot-telemetry.annotations.ymlconfig3.5 KB
examples/gallery/aws-iot-telemetry.tvg.jsonconfig2.2 KB
examples/gallery/aws-media-processing.annotations.ymlconfig3.3 KB
examples/gallery/aws-media-processing.tvg.jsonconfig1.7 KB
examples/gallery/aws-multi-account-network.annotations.ymlconfig6.8 KB
examples/gallery/aws-multi-account-network.tvg.jsonconfig4.6 KB
examples/gallery/aws-multi-region.annotations.ymlconfig3.7 KB
examples/gallery/aws-multi-region.tvg.jsonconfig3.6 KB
examples/gallery/aws-payments-processing.annotations.ymlconfig4.2 KB
examples/gallery/aws-payments-processing.tvg.jsonconfig4.5 KB
examples/gallery/aws-saas-multi-tenant.annotations.ymlconfig3.8 KB
examples/gallery/aws-saas-multi-tenant.tvg.jsonconfig3.7 KB
examples/gallery/aws-sagemaker-mlops.annotations.ymlconfig4.3 KB
examples/gallery/aws-sagemaker-mlops.tvg.jsonconfig3.2 KB
examples/gallery/aws-security-logging.annotations.ymlconfig3.2 KB
examples/gallery/aws-security-logging.tvg.jsonconfig2.7 KB
examples/gallery/aws-serverless-event-driven.annotations.ymlconfig3.2 KB
examples/gallery/aws-serverless-event-driven.tvg.jsonconfig4.0 KB
examples/gallery/aws-static-site-cicd.annotations.ymlconfig3.4 KB
examples/gallery/aws-static-site-cicd.tvg.jsonconfig2.0 KB
examples/gallery/aws-streaming-analytics.annotations.ymlconfig3.5 KB
examples/gallery/aws-streaming-analytics.tvg.jsonconfig2.7 KB
examples/gallery/aws-vm-lift-and-shift.annotations.ymlconfig4.3 KB
examples/gallery/aws-vm-lift-and-shift.tvg.jsonconfig4.2 KB
examples/gallery/azure-aks.annotations.ymlconfig2.9 KB
examples/gallery/azure-aks.tvg.jsonconfig2.9 KB
examples/gallery/azure-batch-hpc.annotations.ymlconfig3.7 KB
examples/gallery/azure-batch-hpc.tvg.jsonconfig2.1 KB
examples/gallery/azure-container-apps-microservices.annotations.ymlconfig4.5 KB
examples/gallery/azure-container-apps-microservices.tvg.jsonconfig2.6 KB
examples/gallery/azure-hub-spoke.annotations.ymlconfig3.8 KB
examples/gallery/azure-hub-spoke.tvg.jsonconfig3.4 KB
examples/gallery/azure-hybrid-expressroute.annotations.ymlconfig4.8 KB
examples/gallery/azure-hybrid-expressroute.tvg.jsonconfig3.0 KB
examples/gallery/azure-iot-telemetry.annotations.ymlconfig3.9 KB
examples/gallery/azure-iot-telemetry.tvg.jsonconfig2.3 KB
examples/gallery/azure-lakehouse.annotations.ymlconfig3.7 KB
examples/gallery/azure-lakehouse.tvg.jsonconfig2.9 KB
examples/gallery/azure-media-processing.annotations.ymlconfig4.2 KB
examples/gallery/azure-media-processing.tvg.jsonconfig2.8 KB
examples/gallery/azure-ml-mlops.annotations.ymlconfig4.1 KB
examples/gallery/azure-ml-mlops.tvg.jsonconfig2.6 KB
examples/gallery/azure-multi-region-dr.annotations.ymlconfig4.5 KB
examples/gallery/azure-multi-region-dr.tvg.jsonconfig3.6 KB
examples/gallery/azure-payments-processing.annotations.ymlconfig4.8 KB
examples/gallery/azure-payments-processing.tvg.jsonconfig3.8 KB
examples/gallery/azure-saas-multi-tenant.annotations.ymlconfig4.0 KB
examples/gallery/azure-saas-multi-tenant.tvg.jsonconfig3.4 KB
examples/gallery/azure-security-monitoring.annotations.ymlconfig5.2 KB
examples/gallery/azure-security-monitoring.tvg.jsonconfig3.2 KB
examples/gallery/azure-serverless-events.annotations.ymlconfig4.3 KB
examples/gallery/azure-serverless-events.tvg.jsonconfig3.0 KB
examples/gallery/azure-static-web-app-cicd.annotations.ymlconfig3.9 KB
examples/gallery/azure-static-web-app-cicd.tvg.jsonconfig2.1 KB
examples/gallery/azure-streaming-analytics.annotations.ymlconfig4.1 KB
examples/gallery/azure-streaming-analytics.tvg.jsonconfig2.3 KB
examples/gallery/azure-three-tier.annotations.ymlconfig2.5 KB
examples/gallery/azure-three-tier.tvg.jsonconfig1.8 KB
examples/gallery/azure-vm-scale-set-web.annotations.ymlconfig4.7 KB
examples/gallery/azure-vm-scale-set-web.tvg.jsonconfig4.2 KB
examples/gallery/azure-web-app.annotations.ymlconfig3.2 KB
examples/gallery/azure-web-app.tvg.jsonconfig2.4 KB
examples/gallery/gcp-batch-hpc.annotations.ymlconfig3.8 KB
examples/gallery/gcp-batch-hpc.tvg.jsonconfig2.7 KB
examples/gallery/gcp-cloud-run-microservices.annotations.ymlconfig5.2 KB
examples/gallery/gcp-cloud-run-microservices.tvg.jsonconfig3.1 KB
examples/gallery/gcp-data-pipeline.annotations.ymlconfig4.0 KB
examples/gallery/gcp-data-pipeline.tvg.jsonconfig2.6 KB
examples/gallery/gcp-event-driven-functions.annotations.ymlconfig4.8 KB
examples/gallery/gcp-event-driven-functions.tvg.jsonconfig2.2 KB
examples/gallery/gcp-gke.annotations.ymlconfig4.3 KB
examples/gallery/gcp-gke.tvg.jsonconfig2.7 KB
examples/gallery/gcp-hybrid-interconnect.annotations.ymlconfig4.3 KB
examples/gallery/gcp-hybrid-interconnect.tvg.jsonconfig2.7 KB
examples/gallery/gcp-iot-telemetry.annotations.ymlconfig4.2 KB
examples/gallery/gcp-iot-telemetry.tvg.jsonconfig2.7 KB
examples/gallery/gcp-media-processing.annotations.ymlconfig4.7 KB
examples/gallery/gcp-media-processing.tvg.jsonconfig2.4 KB
examples/gallery/gcp-multi-region-dr.annotations.ymlconfig4.7 KB
examples/gallery/gcp-multi-region-dr.tvg.jsonconfig3.0 KB
examples/gallery/gcp-payments-processing.annotations.ymlconfig4.6 KB
examples/gallery/gcp-payments-processing.tvg.jsonconfig3.6 KB
examples/gallery/gcp-saas-multi-tenant.annotations.ymlconfig5.1 KB
examples/gallery/gcp-saas-multi-tenant.tvg.jsonconfig3.2 KB
examples/gallery/gcp-security-command-center.annotations.ymlconfig4.5 KB
examples/gallery/gcp-security-command-center.tvg.jsonconfig3.2 KB
examples/gallery/gcp-serverless-api.annotations.ymlconfig4.9 KB
examples/gallery/gcp-serverless-api.tvg.jsonconfig2.6 KB
examples/gallery/gcp-shared-vpc-landing-zone.annotations.ymlconfig4.9 KB
examples/gallery/gcp-shared-vpc-landing-zone.tvg.jsonconfig3.3 KB
examples/gallery/gcp-static-site-cicd.annotations.ymlconfig4.4 KB
examples/gallery/gcp-static-site-cicd.tvg.jsonconfig2.4 KB
examples/gallery/gcp-streaming-bigquery.annotations.ymlconfig3.9 KB
examples/gallery/gcp-streaming-bigquery.tvg.jsonconfig2.2 KB
examples/gallery/gcp-three-tier.annotations.ymlconfig3.7 KB
examples/gallery/gcp-three-tier.tvg.jsonconfig2.2 KB
examples/gallery/gcp-vertex-mlops.annotations.ymlconfig4.3 KB
examples/gallery/gcp-vertex-mlops.tvg.jsonconfig2.4 KB
examples/gallery/gcp-vm-three-tier-migrate.annotations.ymlconfig4.8 KB
examples/gallery/gcp-vm-three-tier-migrate.tvg.jsonconfig4.8 KB
examples/gallery/index.jsonconfig26.0 KB
examples/gallery/three-tier-web.annotations.ymlconfig3.1 KB
examples/gallery/three-tier-web.tvg.jsonconfig2.4 KB
examples/gcp-serverless-api.tvg.jsonconfig2.6 KB
examples/gcp-three-tier.tvg.jsonconfig2.2 KB
examples/patterns/aws-api-gateway-lambda.tvg.jsonconfig826 B
examples/patterns/aws-cognito-api-gateway.tvg.jsonconfig967 B
examples/patterns/aws-dynamodb-streams-lambda.tvg.jsonconfig1.4 KB
examples/patterns/aws-ecs-fargate-elasticache.tvg.jsonconfig1.2 KB
examples/patterns/aws-eks.tvg.jsonconfig2.1 KB
examples/patterns/aws-eventbridge-lambda.tvg.jsonconfig653 B
examples/patterns/aws-firehose-lambda.tvg.jsonconfig1.1 KB
examples/patterns/aws-glue-s3.tvg.jsonconfig1.2 KB
examples/patterns/aws-s3-notification-lambda.tvg.jsonconfig769 B
examples/patterns/aws-sagemaker-endpoint.tvg.jsonconfig957 B
examples/patterns/aws-sagemaker-notebook-vpc.tvg.jsonconfig591 B
examples/patterns/aws-secretsmanager-rds.tvg.jsonconfig1.2 KB
examples/patterns/aws-sns-sqs-lambda.tvg.jsonconfig1.4 KB
examples/patterns/aws-static-website.tvg.jsonconfig475 B
examples/patterns/aws-stepfunctions.tvg.jsonconfig662 B
examples/patterns/aws-waf-alb.tvg.jsonconfig1.1 KB
examples/patterns/aws-wordpress-ecs.tvg.jsonconfig5.4 KB
examples/patterns/azure-aks.tvg.jsonconfig1.6 KB
examples/patterns/azure-appgw-lb.tvg.jsonconfig2.1 KB
examples/patterns/azure-vm-vmss.tvg.jsonconfig1.8 KB
examples/patterns/gcp-data-services.tvg.jsonconfig1012 B
examples/patterns/gcp-gke.tvg.jsonconfig659 B
examples/patterns/gcp-http-load-balancer.tvg.jsonconfig2.2 KB
examples/patterns/gcp-internal-load-balancer.tvg.jsonconfig1.5 KB
examples/patterns/gcp-pubsub-bigquery.tvg.jsonconfig717 B
examples/patterns/gcp-serverless.tvg.jsonconfig673 B
examples/patterns/index.jsonconfig3.7 KB
examples/three-tier-web.tvg.jsonconfig2.4 KB
references/graph-format.mdmarkdown17.7 KB
references/node-types.mdmarkdown29.4 KB
references/terravision-graph.schema.jsonconfig2.9 KB
scripts/validate_graph.pyscript16.5 KB

examples/gallery/azure-vm-scale-set-web.annotations.yml

View on GitHub
# Title, CIDR ranges, arrow labels and flow steps for the gallery diagram. Use with:
#   terravision draw --source azure-vm-scale-set-web.tvg.json --annotate azure-vm-scale-set-web.annotations.yml
format: '0.3'
title: Azure web application migrated from on-premises to VM Scale Sets across three zones
update:
  azurerm_virtual_network.web:
    address_space:
    - 10.72.0.0/16
  azurerm_subnet.gateway:
    address_prefixes:
    - 10.72.0.0/27
    label: GatewaySubnet
  azurerm_subnet.app_gateway:
    address_prefixes:
    - 10.72.1.0/24
  azurerm_subnet.web:
    address_prefixes:
    - 10.72.4.0/22
  azurerm_subnet.migration:
    address_prefixes:
    - 10.72.2.0/27
  azurerm_subnet.bastion:
    address_prefixes:
    - 10.72.3.0/26
    label: AzureBastionSubnet
  azurerm_subnet.private_endpoints:
    address_prefixes:
    - 10.72.10.0/24
  tv_azure_onprem.datacenter:
    label: Corporate Datacenter
  tv_azurerm_server.web_servers:
    label: Web Servers (source)
  tv_azurerm_database.sql_server:
    label: SQL Server (source)
  azurerm_local_network_gateway.datacenter:
    label: VPN Device
  azurerm_virtual_network_gateway.vpn:
    label: VPN Gateway
  azurerm_application_gateway.web:
    label: App Gateway WAF v2
  azurerm_linux_virtual_machine_scale_set.web~1:
    label: Web VMSS
  azurerm_linux_virtual_machine_scale_set.web~2:
    label: Web VMSS
  azurerm_linux_virtual_machine_scale_set.web~3:
    label: Web VMSS
  azurerm_monitor_autoscale_setting.web:
    label: Autoscale (CPU 60%)
  azurerm_database_migration_service.dms:
    label: Database Migration Service
  azurerm_mssql_database.shop:
    label: Azure SQL (zone redundant)
  azurerm_storage_share.content:
    label: Azure Files Content
  azurerm_managed_redis.sessions:
    label: Managed Redis Sessions
  azurerm_recovery_services_vault.migration:
    label: Azure Migrate Vault
  azurerm_bastion_host.admin:
    label: Azure Bastion
  tv_azurerm_internet.payment_provider:
    label: Payment Provider
  azurerm_shared_image_gallery.golden_images:
    label: Compute Gallery Images
  azurerm_dns_zone.shop:
    label: Azure DNS
  azurerm_log_analytics_workspace.web:
    label: Log Analytics
  azurerm_private_dns_zone.privatelink:
    label: Private DNS Zones
  azurerm_web_application_firewall_policy.waf:
    label: WAF Policy
connect:
  azurerm_local_network_gateway.datacenter:
  - azurerm_virtual_network_gateway.vpn: Site-to-site VPN
  azurerm_private_endpoint.files:
  - azurerm_storage_share.content: SMB 445
  azurerm_private_endpoint.sql:
  - azurerm_mssql_database.shop: TDS 1433
flows:
  Migrate:
    description: The application moves from the data centre
    steps:
    - resource: tv_azurerm_server.web_servers -> azurerm_local_network_gateway.datacenter
      xlabel: Replicate
      detail: Azure Migrate replicates the web servers across the site-to-site VPN
    - resource: azurerm_virtual_network_gateway.vpn -> azurerm_private_endpoint.vault
      xlabel: Vault
      detail: to its vault through a private endpoint, and the replicas become the image for the scale set
    - resource: tv_azurerm_database.sql_server -> azurerm_local_network_gateway.datacenter
      xlabel: Sync
      detail: Database Migration Service reads the SQL Server database over the VPN
    - resource: azurerm_database_migration_service.dms -> azurerm_private_endpoint.sql
      xlabel: Load
      detail: and keeps Azure SQL in sync until cutover
  Serve:
    description: Customers use the migrated shop
    steps:
    - resource: tv_azurerm_users.customers -> azurerm_dns_zone.shop
      xlabel: Resolve
      detail: At cutover Azure DNS points the shop at Application Gateway's public IP
    - resource: azurerm_application_gateway.web -> azurerm_linux_virtual_machine_scale_set.web~1
      xlabel: Balance
      detail: Application Gateway with WAF v2 balances requests across the scale set in three zones
    - resource: azurerm_monitor_autoscale_setting.web -> azurerm_linux_virtual_machine_scale_set.web~1
      xlabel: Scale
      detail: Autoscale adds instances above 60% CPU
    - resource: azurerm_linux_virtual_machine_scale_set.web~1 -> azurerm_private_endpoint.redis
      xlabel: Session
      detail: Instances share sessions in Azure Managed Redis
    - resource: azurerm_linux_virtual_machine_scale_set.web~1 -> azurerm_private_endpoint.files
      xlabel: Content
      detail: and uploaded content on Azure Files
    - resource: azurerm_linux_virtual_machine_scale_set.web~1 -> azurerm_private_endpoint.sql
      xlabel: Query
      detail: and query the zone-redundant Azure SQL database
    - resource: azurerm_public_ip.egress -> tv_azurerm_internet.payment_provider
      xlabel: Pay
      detail: Payments go to the provider through the NAT gateway
writing-skillsobra/superpowersUse when creating new skills, editing existing skills, or verifying skills work before deploymentStars: 322kUpdated Claude CodeCodexVerifiedInstall
xlsxanthropics/skillsUse this skill any time a spreadsheet file is the primary input or output. This means any task where the user wants to: open, read, edit, or fix an existing .xlsx, .xlsm, .xltx, .csv, or .tsv file (e.g., adding columns, computing formulas, formatting, charting, cleaning messy data); create a new spreadsheet from scratch or from other data sources; or convert between tabular file formats. Trigger especially when the user references a spreadsheet file by name or path — even casually (like "the xlsx in my downloads") — and wants something done to it or produced from it. Also trigger for cleaning or restructuring messy tabular data files (malformed rows, misplaced headers, junk data) into proper spreadsheets. The deliverable must be a spreadsheet file. Do NOT trigger when the primary deliverable is a Word document, HTML report, standalone Python script, database pipeline, or Google Sheets API integration, even if tabular data is involved.Stars: 198kUpdated Claude CodeCodexVerifiedInstall
shipping-and-launchaddyosmani/agent-skillsPrepares production launches. Use when preparing to deploy to production, or when asking what needs to be in place before shipping. Use when you need a pre-launch checklist, when setting up monitoring, when planning a staged rollout, or when you need a rollback strategy.Stars: 119kUpdated Claude CodeCodexVerifiedInstall
childhoodthedotmack/claude-memBabysit a shipped release after merge, publication, or deployment. Verify published packages, production behavior, installed plugins, and late CI or user reports until the observation window is clean; use babysit for PR readiness before release.Stars: 118kUpdated Claude CodeCodexVerifiedInstall