Skip to content

Commit

Permalink
refactor: Remove dashboard, manifests, and helm provider
Browse files Browse the repository at this point in the history
  • Loading branch information
bryantbiggs committed Jul 15, 2022
1 parent 26181c4 commit 775ed21
Show file tree
Hide file tree
Showing 6 changed files with 66 additions and 72 deletions.
3 changes: 0 additions & 3 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,9 +1,6 @@
# Local .terraform directories
**/.terraform/*

# Terraform lockfile
.terraform.lock.hcl

# .tfstate files
*.tfstate
*.tfstate.*
Expand Down
65 changes: 65 additions & 0 deletions .terraform.lock.hcl

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

49 changes: 0 additions & 49 deletions dashboard.tf

This file was deleted.

14 changes: 0 additions & 14 deletions main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -15,20 +15,6 @@ provider "kubernetes" {
}
}

provider "helm" {
kubernetes {
host = module.eks.cluster_endpoint
cluster_ca_certificate = base64decode(module.eks.cluster_certificate_authority_data)

exec {
api_version = "client.authentication.k8s.io/v1beta1"
command = "aws"
# This requires the awscli to be available locally where Terraform is executed
args = ["eks", "get-token", "--cluster-name", module.eks.cluster_id]
}
}
}

provider "aws" {
region = var.region
}
Expand Down
5 changes: 0 additions & 5 deletions versions.tf
Original file line number Diff line number Diff line change
Expand Up @@ -9,11 +9,6 @@ terraform {
source = "hashicorp/random"
version = "3.1.0"
}

kubernetes = {
source = "hashicorp/kubernetes"
version = ">= 2.10"
}
}

required_version = ">= 0.14"
Expand Down
2 changes: 1 addition & 1 deletion vpc.tf
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
module "vpc" {
source = "terraform-aws-modules/vpc/aws"
version = "3.12.0"
version = "3.14.2"

name = "education-vpc"

Expand Down

0 comments on commit 775ed21

Please sign in to comment.