diff --git a/.github/workflows/terraform-destroy.yaml b/.github/workflows/terraform-destroy.yaml index 82a8312..6167301 100644 --- a/.github/workflows/terraform-destroy.yaml +++ b/.github/workflows/terraform-destroy.yaml @@ -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 diff --git a/terraform/environments/prod/eks.tf b/terraform/environments/prod/eks.tf index cbde148..7dc5e37 100644 --- a/terraform/environments/prod/eks.tf +++ b/terraform/environments/prod/eks.tf @@ -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 = {