In this blog, I am going to demonstrate how to generate a working Terraform template within a minute by using plain English language conversation with ChatGPT.
I asked chatgpt to create one terraform script to lunch an ec2 instance with the httpd web server user data.
Here is the response
Now Let’s Apply the terraform script and see the result
Now Let's hit the public ip
Here we go. The web server is up and running.
So by using the chatgpt we can make our day-to-day devops activities easy.