Skip to content

Latest commit

 

History

History
21 lines (17 loc) · 802 Bytes

README.md

File metadata and controls

21 lines (17 loc) · 802 Bytes

Terraform Code Generation - CLI AI

Terraform-assistant, leveraging the prowess of OpenAI ChatGPT, optimizes the application of Terraform HCL (HashiCorp Configuration Language) files by furnishing an intelligent and interactive assistant, thereby refining infrastructure provisioning and management through advanced language model functionalities.

Requirements

  • Creating OpenAI Clients
  • Applying terraform scripts
  • Show output and taking prompt from the user
  • Awareness about environment variables having API keys for OPENAI etc

Fucntionality

  • Take Prompt from the user
  • Ask ChatGPT to create terraform script for it
  • Show user the output
  • Ask the user whether he wants to apply the script
  • Apply the script using terraform

Technologies Used

  • Go
  • OpenAI(ChatGPT)
  • Terraform