GoogleCloudPlatform/terraformer

A CLI tool that generates tf/json and tfstate files based on existing infrastructure (reverse Terraform).

A Project Structure for Packer and Terraform

Using Packer to build AMIs and Terraform and some scripts to deploy them.

Terraform as part of the software supply chain, Part 1 - Modules and Providers

Terraform Enterprise: Attack the Metadata Service - Hacking The Cloud

https://github.com/NJonesUK/tfc-shell

This Terraform code will execute the contents of recon.sh whenever terraform plan or terraform apply  is executed, using the external Terraform provider. It is designed to support offensive security testing against environments using Terraform Cloud, Terraform Enterprise, Atlantis, or other means of performing continuous deployment of infrastructure defined as Terraform.

Terraform Plan RCE