Skip to content

Latest commit

 

History

History
31 lines (20 loc) · 577 Bytes

README.md

File metadata and controls

31 lines (20 loc) · 577 Bytes

TF-Deployment

Decoupling the communication between terraform client and server with RabbitMQ, Terraform CDK and Go. Provision infrastructure at scale.

ec2

In this example, we will see how consumers create AWS EC2 instances using configs from producer's messages.

ec2

Prerequisite

  • Docker/Docker-compose
  • cdktf-cli
  • terraform
  • Go >= 1.16

Quick Start

Start rabbitMQ, consumers:

docker compose up

Start terraform producer:

cd tf-client
go run main.go <ec2-instance-name>