29 lines
484 B
Terraform
29 lines
484 B
Terraform
|
terraform {
|
||
|
required_version = "~> 1.0"
|
||
|
|
||
|
required_providers {
|
||
|
aws = {
|
||
|
source = "hashicorp/aws"
|
||
|
version = "~> 4.0"
|
||
|
}
|
||
|
helm = {
|
||
|
source = "hashicorp/helm"
|
||
|
version = "~> 2.5"
|
||
|
}
|
||
|
kubectl = {
|
||
|
source = "gavinbunney/kubectl"
|
||
|
version = "~> 1.14"
|
||
|
}
|
||
|
}
|
||
|
}
|
||
|
|
||
|
provider "aws" {
|
||
|
region = "eu-west-2"
|
||
|
}
|
||
|
|
||
|
locals {
|
||
|
cluster_name = "karpenter-demo"
|
||
|
partition = data.aws_partition.current.partition
|
||
|
}
|
||
|
|
||
|
data "aws_partition" "current" {}
|