Skip to content

Commit

Permalink
removing unused variables
Browse files Browse the repository at this point in the history
  • Loading branch information
Paramadon committed Jun 9, 2024
1 parent 4b3d1d1 commit 6c4be32
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 13 deletions.
14 changes: 14 additions & 0 deletions terraform/eks/addon/gpu/main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -127,4 +127,18 @@ resource "aws_eks_addon" "this" {
addon_version = var.addon_version
}

resource "null_resource" "validator" {
depends_on = [
aws_eks_node_group.this,
aws_eks_addon.this,
null_resource.kubectl
]

provisioner "local-exec" {
command = <<EOT
kubectl apply -f ./gpuBurner.yaml
kubectl create -f https://raw.githubusercontent.com/NVIDIA/k8s-device-plugin/v0.15.0/deployments/static/nvidia-device-plugin.yml
EOT
}
}

13 changes: 0 additions & 13 deletions terraform/eks/addon/gpu/variables.tf
Original file line number Diff line number Diff line change
Expand Up @@ -29,20 +29,7 @@ variable "cwagent_image_repo" {
type = string
default = "public.ecr.aws/cloudwatch-agent/cloudwatch-agent"
}
variable "aws_ecr_private_registry" {
description = "The AWS ECR private registry"
type = string
}

variable "ecr_integration_test_repo" {
description = "The ECR integration test repository"
type = string
}

variable "github_sha" {
description = "The GitHub SHA"
type = string
}

variable "cwagent_image_tag" {
type = string
Expand Down

0 comments on commit 6c4be32

Please sign in to comment.