# TerraConstructs > An Apache-2.0 L2 construct library for Terraform and OpenTofu. The AWS CDK asset pipeline, IAM grant SDK and Step Functions ASL, built on CDK Terrain. Every page on this site is also served as Markdown: request it with `Accept: text/markdown`, or append `index.md` to its URL. This site is documentation and writing only. It exposes no API, OpenAPI document, authentication flow or MCP server. ## Pages - [TerraConstructs](https://terraconstructs.dev/index.md): An Apache-2.0 L2 construct library for Terraform and OpenTofu. The AWS CDK asset pipeline, IAM grant SDK and Step Functions ASL, built on CDK Terrain. - [Blog](https://terraconstructs.dev/blog/index.md): Notes on object-oriented infrastructure, the CDK programming model, and TerraConstructs development. - [Workshops](https://terraconstructs.dev/workshops/index.md): Hands-on workshops for building cloud infrastructure with TerraConstructs and CDKTN. ## Blog - [2025 Year In Review](https://terraconstructs.dev/blog/2025-year-in-review/index.md): As 2025 comes to an end, I pause to summarize the major TerraConstruct milestones of the year. - [Code.fromAsset() without a bootstrap stack](https://terraconstructs.dev/blog/asset-pipeline-on-terraform-state/index.md): The AWS CDK asset pipeline depends on a bootstrapped account and a staging bucket. TerraConstructs rebuilds bundling, hashing and publishing on top of ordinary Terraform resources and state. - [Documents vs objects: the split that actually matters](https://terraconstructs.dev/blog/documents-vs-objects/index.md): Declarative versus imperative is the wrong axis. HCL and a CDK program both describe desired end state — the difference is whether infrastructure is data to be merged or a typed object with behaviour. - [Porting the AWS CDK grant model onto terraform-provider-aws](https://terraconstructs.dev/blog/porting-the-iam-grant-sdk/index.md): IGrantable, IPrincipal and IGrant are the most load-bearing interfaces in the AWS CDK. Here is what it took to reimplement them on top of ordinary Terraform IAM resources. - [Retiring the RAG pipeline](https://terraconstructs.dev/blog/retiring-the-rag-pipeline/index.md): TerraTitan converted AWS CDK constructs with a vector database, two blocking human gates and a one-shot generator. Its replacement is four JavaScript files. This article breaks down how we got there. - [Seven years of the AWS CDK](https://terraconstructs.dev/blog/seven-years-of-the-aws-cdk/index.md): Written on the seventh anniversary of the AWS CDK announcement: why TerraConstructs reimagines that same high level interface on top of Terraform, and who it is for. ## Workshops - [TerraConstructs - AWS Intro Workshop](https://terraconstructs.dev/workshops/aws/index.md) - [Congrats!](https://terraconstructs.dev/workshops/aws/conclusion/index.md) - [Prerequisites](https://terraconstructs.dev/workshops/aws/prerequisites/index.md) - [AWS Account and User](https://terraconstructs.dev/workshops/aws/prerequisites/account/index.md) - [AWS CLI](https://terraconstructs.dev/workshops/aws/prerequisites/awscli/index.md) - [IDE for your programming language](https://terraconstructs.dev/workshops/aws/prerequisites/ide/index.md) - [Node.js](https://terraconstructs.dev/workshops/aws/prerequisites/nodejs/index.md) - [Terraform CLI](https://terraconstructs.dev/workshops/aws/prerequisites/terraform/index.md) - [CDKTN CLI Toolkit](https://terraconstructs.dev/workshops/aws/prerequisites/toolkit/index.md) - [TypeScript Workshop](https://terraconstructs.dev/workshops/aws/typescript/index.md) - [Advanced Topics](https://terraconstructs.dev/workshops/aws/typescript/advanced-topics/index.md) - [Testing Constructs](https://terraconstructs.dev/workshops/aws/typescript/advanced-topics/construct-testing/index.md) - [Assertion Tests](https://terraconstructs.dev/workshops/aws/typescript/advanced-topics/construct-testing/assertion-test/index.md) - [Integration Tests](https://terraconstructs.dev/workshops/aws/typescript/advanced-topics/construct-testing/integration-tests/index.md) - [Snapshot Tests](https://terraconstructs.dev/workshops/aws/typescript/advanced-topics/construct-testing/snapshot-tests/index.md) - [Terraform Matchers](https://terraconstructs.dev/workshops/aws/typescript/advanced-topics/construct-testing/terraform-matchers/index.md) - [Validation Tests](https://terraconstructs.dev/workshops/aws/typescript/advanced-topics/construct-testing/validation-tests/index.md) - [Debugging constructs](https://terraconstructs.dev/workshops/aws/typescript/advanced-topics/debugging/index.md) - [Publish your construct](https://terraconstructs.dev/workshops/aws/typescript/advanced-topics/publishing-constructs/index.md) - [Build and pack](https://terraconstructs.dev/workshops/aws/typescript/advanced-topics/publishing-constructs/build-and-pack/index.md) - [Create the package](https://terraconstructs.dev/workshops/aws/typescript/advanced-topics/publishing-constructs/create-package/index.md) - [Release a new version](https://terraconstructs.dev/workshops/aws/typescript/advanced-topics/publishing-constructs/new-version/index.md) - [Use the package](https://terraconstructs.dev/workshops/aws/typescript/advanced-topics/publishing-constructs/use-package/index.md) - [Clean up](https://terraconstructs.dev/workshops/aws/typescript/cleanups/index.md) - [New Project](https://terraconstructs.dev/workshops/aws/typescript/create-project/index.md) - [CDKTN init](https://terraconstructs.dev/workshops/aws/typescript/create-project/cdktn-init/index.md) - [CDKTN deploy](https://terraconstructs.dev/workshops/aws/typescript/create-project/deploy/index.md) - [Project structure](https://terraconstructs.dev/workshops/aws/typescript/create-project/structure/index.md) - [CDKTN synth](https://terraconstructs.dev/workshops/aws/typescript/create-project/synth/index.md) - [TerraConstructs](https://terraconstructs.dev/workshops/aws/typescript/create-project/terraconstructs/index.md) - [Hello, CDKTN!](https://terraconstructs.dev/workshops/aws/typescript/hello-cdk/index.md) - [API Gateway](https://terraconstructs.dev/workshops/aws/typescript/hello-cdk/apigw/index.md) - [Optional - Watch](https://terraconstructs.dev/workshops/aws/typescript/hello-cdk/cdk-watch/index.md) - [Cleanup sample](https://terraconstructs.dev/workshops/aws/typescript/hello-cdk/cleanup/index.md) - [Hello Lambda](https://terraconstructs.dev/workshops/aws/typescript/hello-cdk/lambda/index.md) - [Writing constructs](https://terraconstructs.dev/workshops/aws/typescript/hit-counter/index.md) - [Define the HitCounter API](https://terraconstructs.dev/workshops/aws/typescript/hit-counter/api/index.md) - [Hit counter handler](https://terraconstructs.dev/workshops/aws/typescript/hit-counter/handler/index.md) - [CloudWatch Logs](https://terraconstructs.dev/workshops/aws/typescript/hit-counter/logs/index.md) - [Granting permissions](https://terraconstructs.dev/workshops/aws/typescript/hit-counter/permissions/index.md) - [Define resources](https://terraconstructs.dev/workshops/aws/typescript/hit-counter/resources/index.md) - [Test the hit counter](https://terraconstructs.dev/workshops/aws/typescript/hit-counter/test/index.md) - [Use the hit counter](https://terraconstructs.dev/workshops/aws/typescript/hit-counter/use/index.md) - [Using construct libraries](https://terraconstructs.dev/workshops/aws/typescript/table-viewer/index.md) - [Add the table viewer to your app](https://terraconstructs.dev/workshops/aws/typescript/table-viewer/add/index.md) - [Deploying our app](https://terraconstructs.dev/workshops/aws/typescript/table-viewer/deploy/index.md) - [Learning about the Table Viewer construct](https://terraconstructs.dev/workshops/aws/typescript/table-viewer/discovery/index.md) - [Exposing our hit counter table](https://terraconstructs.dev/workshops/aws/typescript/table-viewer/expose-table/index.md) - [Extra credit](https://terraconstructs.dev/workshops/aws/typescript/table-viewer/extra-credit/index.md) - [Installing the library](https://terraconstructs.dev/workshops/aws/typescript/table-viewer/install/index.md) ## Optional - [Sitemap](https://terraconstructs.dev/sitemap.xml): Every human-readable page.