Resolve Unsupported Terraform Core Version in Visual Studio Code on Mac - DevPops-Inc/mac GitHub Wiki

• The following resolution is for if you receive an error for unsupported Terraform Core version on when trying to run terraform plan.
• image

• Type open -a “Visual Studio Code.app” and press the return key to launch Visual Studio Code.
• image

• Expand the “File” menu and select “Open…”
• image

• Browse to your Terraform file, select it and click “Open.”
• image

• Click on the left of required version = “< version number >”.
• image

• Type # to comment out the required version number.
• image

• Press the command and S keys to save the change.
• image

• Return to the Terminal, type terraform plan and press the return key and Terraform should run with the error now.
• image

⚠️ **GitHub.com Fallback** ⚠️