Skip to content

Instantly share code, notes, and snippets.

@a-patel
Created February 25, 2022 20:41
Show Gist options
  • Save a-patel/93e39a6a787ff13998a1217255071bfc to your computer and use it in GitHub Desktop.
Save a-patel/93e39a6a787ff13998a1217255071bfc to your computer and use it in GitHub Desktop.
Amazon EKS Terraform Workshop: Providers
terraform {
required_version = ">= 1.1.0"
required_providers {
aws = {
source = "hashicorp/aws"
version = "~> 4.0"
}
}
}
provider "aws" {
region = var.region
access_key = var.aws_access_key
secret_key = var.aws_secret_key
# other options for authentication
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment