Terraform Providers
Understanding Terraform providers.
We'll cover the following...
Viewing Terraform provider
Everything we’ve done so far with the service account serves one purpose. We created it so that we can use it in Terraform’s Google provider. It allows us to configure the credentials used to authenticate with GCP, as well as a few other things. Please visit the Google Cloud Platform Provider section of the Terraform documentation for more details.
The contents of provider.tf
are given below.
Press + to interact
provider "google" {credentials = file("account.json")project = var.project_idregion = var.region}
We’re specifying the credentials
, the project
, and region
where we’d like to create a cluster. The credentials are using the ...