$ cd ~/projects Multiform Translate a generic cloud architecture into Terraform ──────────────────────────────────────────────────── A Multi-Cloud Templating System. tags: Python, Terraform, AWS, Cloud ──────────────────────────────────────────────────── ## Describe an architecture once Multiform is a Python command-line tool for generating provider-specific Terraform from a YAML architecture description. Define components such as object storage, a function, a CDN, and an API gateway, then connect them through references. Jinja templates map those components to the resources of each target cloud. Template definitions describe inputs and supported platforms, while schemas validate the YAML configuration. The abstraction covers the functionality supplied by those templates, so adding a platform or resource type requires appropriate templates. Multiform on GitHub https://github.com/michidk/multiform ──────────────────────────────────────────────────── ## Generate Terraform and architecture graphs The documented setup uses just install to install the multiform command. The transpile subcommand accepts an architecture file, a template directory, and an output directory, with an optional report describing the translation. The plot subcommand generates a graph of the architecture. The included example generates AWS and Google Cloud configurations for a serverless web application. It provides a concrete architecture file and matching templates to inspect before adapting the tool. Multiform usage guide https://github.com/michidk/multiform/blob/master/README.md Example architecture and templates https://github.com/michidk/multiform/tree/master/example ──────────────────────────────────────────────────── ## Serverless Webapp and the thesis Serverless Webapp contains the original Terraform deployments and shared frontend and function code used by the example. That separate repository covers AWS, Azure, and Google Cloud. Multiform is the transpiler developed for my master's thesis on high-level cloud architectures for platform-independent serverless applications. Serverless Webapp on GitHub https://github.com/michidk/serverless-webapp High-Level Cloud Architectures thesis /projects/hlca ──────────────────────────────────────────────────── $ ls ~/pages > about curl -L lohr.dev > projects curl -L lohr.dev/projects > blog curl -L lohr.dev/blog > stats curl -L lohr.dev/stats > contact curl -L lohr.dev/contact ──────────────────────────────────────────────────── https://lohr.dev