Jonathan Law
Dec 27, 2021

--

Hi Piotr,

It is because "terraform init" needs some configurations to initialize your environment.

TLDR you need to create a tf file in your directory before running "terraform init" in your Powershell.

For example, in this section:

https://towardsdatascience.com/version-control-big-query-with-terraform-with-ci-cd-too-a4bbffb25ad9#a26d

A provider.tf file is created first stating what provider I will be using, then only you "terraform init" it. So what terraform init does is it will download the required dependencies or "settings for Google" in the example above. Hopefully my answer helps you get started, else just let me know!

--

--

Jonathan Law

I am Jonathan Law Hui Hao, a Business Support Specialist in Malaysia. I combine logistics and process improvement with technology.