How can I configure autosuggest in Visual Studio Code for an Azure deployment using a Terraform file?

Musaddique Ali 0 Reputation points
2023-02-23T18:32:38.6333333+00:00

I am attempting to deploy an Azure virtual machine using a Terraform file within Visual Studio Code. However, the software is not providing any autosuggestions for SKUs. Is there a method to obtain these suggestions?

Thank you in advance!! no suggestion terra azure vsc

Azure Virtual Machines
Azure Virtual Machines
An Azure service that is used to provision Windows and Linux virtual machines.
Azure Automation
Azure Automation
An Azure service that is used to automate, configure, and install updates across hybrid environments.
Developer technologies | Visual Studio | Extensions
Developer technologies | Visual Studio | Setup
Developer technologies | Visual Studio | Other
Developer technologies | Visual Studio | Other
A family of Microsoft suites of integrated development tools for building applications for Windows, the web, mobile devices and many other platforms. Miscellaneous topics that do not fit into specific categories.
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. Pramod Valavala 20,656 Reputation points Microsoft Employee Moderator
    2023-03-30T19:37:23.76+00:00

    @Musaddique Ali While the HashiCorp Terraform VS Code Extension adds intellisense support, I believe it doesn't support it for values since they are just string values.

    You could leverage the GitHub Co-Pilot Extension though, which is fairly accurate.

    0 comments No comments

Your answer

Answers can be marked as 'Accepted' by the question author and 'Recommended' by moderators, which helps users know the answer solved the author's problem.