terraform

Created: by Pradeep Gowda Updated: Apr 07, 2024 Tagged: terraform

Winglang

This is still in development, but interesting to keep an eye on, in light of Terraform/OpenTOFU kerfuffle. Written by the author of AWS CDK.

Cloud applications are fundamentally different from applications that run on a single machine - they are distributed systems that rely on cloud infrastructure to achieve their goals.

In order to be able to express both infrastructure and application logic in a safe and unified programming model, Winglang has two execution phases: preflight for infrastructure definitions and inflight for runtime code. Preflight code is executed during compilation and produces the infrastructure configuration for your app (e.g. TerraformCloudFormation, etc). Inflight code is compiled into JavaScript and executed within cloud compute platforms in Node.js environments.