Skip to content

Commit

Permalink
Merge pull request #6 from caiocsgomes/change-capacity-type-eks
Browse files Browse the repository at this point in the history
fix: change capacity-type in eks managed nodes to on-demand
  • Loading branch information
caiocsgomes authored Apr 25, 2024
2 parents e5d8eab + d9b2706 commit f2f6abf
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/terraform-destroy.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,6 @@ jobs:
- name: terraform init
run: terraform init
working-directory: terraform/environments/prod
- name: terraform apply
- name: terraform destroy
run: terraform destroy -auto-approve
working-directory: terraform/environments/prod
2 changes: 1 addition & 1 deletion terraform/environments/prod/eks.tf
Original file line number Diff line number Diff line change
Expand Up @@ -185,7 +185,7 @@ module "eks" {
echo "you are free little kubelet!"
EOT

capacity_type = "SPOT"
capacity_type = "ON_DEMAND"
force_update_version = true
instance_types = var.instance_types
labels = {
Expand Down

0 comments on commit f2f6abf

Please sign in to comment.