Secure infrastructure as code

Anvil is a secure-by-default alternative to Terraform and CDK on AWS, built on Pulumi.

SDKs for TypeScript SDK, Python SDK and Go SDK.

Terminal — secure-app

Demo: anvil init, then an anvil.config.ts with cost tags, SOC 2 and ISO 27001 compliance, a DSQL database, a Lambda, an HTTP API and a SvelteKit site; anvil deploy; anvil compliance scan; and the compliance dashboard listing the project's scans.

Install Anvil

Installs anvil and the provider to /usr/local/bin. Works on Apple Silicon and Intel.

57 lines of Anvil. 194 of Terraform.

The same image upload service (a bucket, a Lambda, an HTTP API and a SvelteKit site) written in every framework. Pick one to compare against.

57

lines of infrastructure code

Anvil 57 Terraform 194 · 3.4× more

4

components to declare

Anvil 4 Terraform 17 · 4.3× more

1

permissions written by hand

Anvil 1 Terraform 7 · 7.0× more

Anvil deploys with
Pulumi engine
Terraform deploys with
Terraform engine