Search⌘ K
AI Features

Terraform Providers

Explore how to use Terraform providers to create and manage AWS Elastic Kubernetes Service clusters. Learn about provider configuration, authentication methods using environment variables, initializing Terraform plugins, and applying infrastructure changes with Terraform commands.

Viewing Terraform provider

The key we created serves only one purpose. We created it so that we can use it in Terraform’s aws provider. It allows us to configure the credentials used to authenticate with AWS and a few other things. For more details, please visit the AWS Provider section of the Terraform documentation.

One of the ways the provider can authenticate is through the environment variables we set a few moments ago. Let’s look at the definition of provider.

Shell
provider"aws"{
region = var.region
}

Applying Terraform definition

We’re only specifying the region. ...