-1

I need some help to figure out what's wrong here.

Here is my file :

terraform {

  required_version = ">= 0.13"
  required_providers {

    google = {
      source  = "hashicorp/google"
      version = "~> 3.63"
    }
  }
  backend "http" {
    # configured on CLI
  }

}

But when i try to execute the plan, i have this error message :

│ Error: Invalid provider configuration
│ 
│ Provider "registry.terraform.io/hashicorp/google-beta" requires explicit
│ configuration. Add a provider block to the root module and configure the
│ provider's required arguments as described in the provider documentation.
│ 
╵
╷
│ Error: Invalid provider configuration
│ 
│ Provider "registry.terraform.io/hashicorp/google" requires explicit
│ configuration. Add a provider block to the root module and configure the
│ provider's required arguments as described in the provider documentation.

error message

Do you have any idea why this is happening?

The same file was working until i tried to run it again today. So it doesnt make sens to me and i can't find anything on the internet about this issu.

Thank you for your help.

1 Answers1

0

configure the provider's required arguments

You have to add Google Cloud Platform Provider provider to your code.

Marcin
  • 215,873
  • 14
  • 235
  • 294