🤠 ChatGPT - Use ChatGPT for cloud 🤠
#cloud #azure #chatGPT
Hi All!
ChatGPT is a nice tool/extension for learning.
In this post we're not going to learn ChatGPT. Instead learn using ChatGPT.
Let me share my experience that I used an extension called ChatGPT: write and improve code using AI in visual studio code.
To survive in IT world, we need to update and upgrade our knowledge often and we could not say I won't do this one as I don't know. If we come out of it, we can miss a wonderful oppurtunity/growth of your future
Here we should accept the challenge as well as learn parallely. Even though we could get KT from the team, we need to dig into the concept well to do better.
Here ChatGPT appears infront of us to help.
Consider a scenario that you joined in a company as cloud developer or deploying into new team in existing company and tasked of terraform or AKS or something else which is new to you.
Let's say I joined into a new team and I have been tasked with terraform and other one. I have 2 files. First one is an YML file about Pod and second one is of a azure resource terraform file but I don't know about both
While deploying, terraform resorce provision or pipeline failed and I need to find the root cause of it.
Look into the below image to see how chatGPT help us to facilitate our analyzing, give some clue and save our time.
ChatGPT:Find problems option describes about what problem could happen with the code and give you the correct format of code for your reference.
If we don't know about the file we have, here we've pod file. Select a particular section or entire file and right click then use ChatGPT:Explain selection to know about the part.
In the terraform code, there is var keyword missing which leads to the pipeline failed / resorce provision failed. It is just for an example I intentionally missed var keyword.
The above extension will help you in any of the languages like .NET, Java, Python, Node... etc,
You can play around with many options from ChatGPT. Enjoy!
Note:After Installing ChatGPT above mentioned extension in VS Code, you have to generate a secret key in openai.com then update the secret value in VSCode ChatGPT's Extension settings Chatgpt:API Key
Comments
Post a Comment