Skip to content

Commit

Permalink
Create sanitech_continuous_optimization.tf
Browse files Browse the repository at this point in the history
  • Loading branch information
KOSASIH authored Apr 19, 2024
1 parent 7f63ba5 commit 3686258
Showing 1 changed file with 27 additions and 0 deletions.
27 changes: 27 additions & 0 deletions func/sanitech_continuous_optimization.tf
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
resource "google_container_cluster" "primary" {
name = "primary"
location = "us-central1-a"
initial_node_count = 3

node_config {
preemptible = true
service_account = google_service_account.default.email
oauth_scopes = [
"https://www.googleapis.com/auth/logging.write",
"https://www.googleapis.com/auth/monitoring",
]
}

maintenance_policy {
daily_maintenance_window {
start_time = "03:00"
}
}

auto_repair = true
auto_upgrade = true

lifecycle {
ignore_changes = [node_config]
}
}

0 comments on commit 3686258

Please sign in to comment.