Skip to content

Commit

Permalink
Fixed problems reported after PR review
Browse files Browse the repository at this point in the history
  • Loading branch information
chrismld committed Oct 11, 2024
1 parent 6a0c9dd commit 889a6a5
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 9 deletions.
2 changes: 1 addition & 1 deletion streaming/kafka/eks.tf
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ module "eks" {
desired_size = 3

instance_types = ["m6g.xlarge", "m6gd.xlarge", "m7g.xlarge", "c6g.xlarge", "c6gd.xlarge", "c7g.xlarge"]
ami_type = "AL2_ARM_64"
ami_type = "AL2023_ARM_64_STANDARD"

ebs_optimized = true
block_device_mappings = {
Expand Down
14 changes: 6 additions & 8 deletions streaming/kafka/providers.tf
Original file line number Diff line number Diff line change
Expand Up @@ -8,18 +8,16 @@ provider "aws" {
}

provider "kubernetes" {
# host = module.eks.cluster_endpoint
# cluster_ca_certificate = base64decode(module.eks.cluster_certificate_authority_data)
# token = data.aws_eks_cluster_auth.this.token
config_path = "/Users/chrismld/.kube/config"
host = module.eks.cluster_endpoint
cluster_ca_certificate = base64decode(module.eks.cluster_certificate_authority_data)
token = data.aws_eks_cluster_auth.this.token
}

provider "helm" {
kubernetes {
# host = module.eks.cluster_endpoint
# cluster_ca_certificate = base64decode(module.eks.cluster_certificate_authority_data)
# token = data.aws_eks_cluster_auth.this.token
config_path = "/Users/chrismld/.kube/config"
host = module.eks.cluster_endpoint
cluster_ca_certificate = base64decode(module.eks.cluster_certificate_authority_data)
token = data.aws_eks_cluster_auth.this.token
}
}

Expand Down

0 comments on commit 889a6a5

Please sign in to comment.