Skip to content

Commit

Permalink
add github actions for tf lint check
Browse files Browse the repository at this point in the history
  • Loading branch information
umeshkumhar committed Mar 6, 2024
1 parent 00a55e7 commit 52f2a21
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 5 deletions.
3 changes: 0 additions & 3 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
@@ -1,7 +1,4 @@
name: Terraform CI
defaults:
run:
working-directory: ${{ env.tf_actions_working_dir }}
on:
push:
branches:
Expand Down
2 changes: 1 addition & 1 deletion infrastructure/main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ module "custom-network" {
}

locals {
network_name = var.create_network ? module.custom-network[0].network_name : var.network_name
network_name= var.create_network ? module.custom-network[0].network_name : var.network_name
subnetwork_name = var.create_network ? module.custom-network[0].subnets_names[0] : var.subnetwork_name
}

Expand Down
2 changes: 1 addition & 1 deletion infrastructure/platform.tfvars
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ gpu_pools = [{
machine_type = "g2-standard-24"
node_locations = "us-central1-a"
autoscaling = true
min_count = 1
min_count = 1
max_count = 3
disk_size_gb = 100
disk_type = "pd-balanced"
Expand Down

0 comments on commit 52f2a21

Please sign in to comment.