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.
- Creating OpenAI Clients
- Applying terraform scripts
- Show output and taking prompt from the user
- Awareness about environment variables having API keys for OPENAI etc
- 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
- Go
- OpenAI(ChatGPT)
- Terraform