How to use the diagrams.aws.compute.ECS function in diagrams

To help you get started, we’ve selected a few diagrams examples, based on popular ways it is used in public projects.

Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.

github accurics / terrascan / docs / architecture.diagrams.py View on Github external
from diagrams.gcp.compute import GCE
from diagrams.programming.language import Bash
from diagrams.onprem import iac
from diagrams.onprem.compute import Server


with Diagram("Terrascan architecture", show=False):
    cli = Bash("CLI")
    server = Server("API server")
    notifier = ConsoleMobileApplication("Notifier (Webhook)")
    writer = Bash("Writer (JSON, YAML, XML)")

    with Cluster("Runtime"):
        ECS("Input Validate")
        output = ECS("Output")
        ECS("Process")

    with Cluster("IaC Providers"):
        tf = iac.Terraform("Terraform")
        ansible = iac.Ansible("Ansible")
        cft = Cloudformation("CloudFormation")


    with Cluster("Policy Engine"):
        policy = [
            VM("Azure"),
            GCE("GCP"),
            ECS("AWS")
        ]

    server >> output >> tf >> policy >> notifier
    cli >> output >> ansible >> policy >> writer
github accurics / terrascan / docs / architecture.diagrams.py View on Github external
with Cluster("Runtime"):
        ECS("Input Validate")
        output = ECS("Output")
        ECS("Process")

    with Cluster("IaC Providers"):
        tf = iac.Terraform("Terraform")
        ansible = iac.Ansible("Ansible")
        cft = Cloudformation("CloudFormation")


    with Cluster("Policy Engine"):
        policy = [
            VM("Azure"),
            GCE("GCP"),
            ECS("AWS")
        ]

    server >> output >> tf >> policy >> notifier
    cli >> output >> ansible >> policy >> writer
    output >> cft >> policy
github accurics / terrascan / docs / architecture.diagrams.py View on Github external
from diagrams.aws.integration import ConsoleMobileApplication
from diagrams.azure.compute import VM
from diagrams.gcp.compute import GCE
from diagrams.programming.language import Bash
from diagrams.onprem import iac
from diagrams.onprem.compute import Server


with Diagram("Terrascan architecture", show=False):
    cli = Bash("CLI")
    server = Server("API server")
    notifier = ConsoleMobileApplication("Notifier (Webhook)")
    writer = Bash("Writer (JSON, YAML, XML)")

    with Cluster("Runtime"):
        ECS("Input Validate")
        output = ECS("Output")
        ECS("Process")

    with Cluster("IaC Providers"):
        tf = iac.Terraform("Terraform")
        ansible = iac.Ansible("Ansible")
        cft = Cloudformation("CloudFormation")


    with Cluster("Policy Engine"):
        policy = [
            VM("Azure"),
            GCE("GCP"),
            ECS("AWS")
        ]
github accurics / terrascan / docs / architecture.diagrams.py View on Github external
from diagrams.azure.compute import VM
from diagrams.gcp.compute import GCE
from diagrams.programming.language import Bash
from diagrams.onprem import iac
from diagrams.onprem.compute import Server


with Diagram("Terrascan architecture", show=False):
    cli = Bash("CLI")
    server = Server("API server")
    notifier = ConsoleMobileApplication("Notifier (Webhook)")
    writer = Bash("Writer (JSON, YAML, XML)")

    with Cluster("Runtime"):
        ECS("Input Validate")
        output = ECS("Output")
        ECS("Process")

    with Cluster("IaC Providers"):
        tf = iac.Terraform("Terraform")
        ansible = iac.Ansible("Ansible")
        cft = Cloudformation("CloudFormation")


    with Cluster("Policy Engine"):
        policy = [
            VM("Azure"),
            GCE("GCP"),
            ECS("AWS")
        ]

    server >> output >> tf >> policy >> notifier