Skip to content

Commit

Permalink
updated platfirm fmt
Browse files Browse the repository at this point in the history
  • Loading branch information
psabhishekgoogle committed May 7, 2024
1 parent 51b3216 commit 3ce45a3
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 10 deletions.
10 changes: 5 additions & 5 deletions applications/genai-on-gke/platform/backend.tf
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,8 @@
# limitations under the License.

terraform {
backend "gcs" {
bucket = "BUCKET_NAME"
prefix = "terraform/state2"
}
}
backend "gcs" {
bucket = "BUCKET_NAME"
prefix = "terraform/state2"
}
}
6 changes: 3 additions & 3 deletions applications/genai-on-gke/platform/main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,7 @@ module "public-gke-standard-cluster" {

## create public GKE autopilot
module "public-gke-autopilot-cluster" {
count = var.create_cluster && !var.private_cluster && var.autopilot_cluster ? 1 : 0
count = var.create_cluster && !var.private_cluster && var.autopilot_cluster ? 1 : 0
depends_on = [
google_project_service.project_services
]
Expand All @@ -120,7 +120,7 @@ module "public-gke-autopilot-cluster" {

## create private GKE standard
module "private-gke-standard-cluster" {
count = var.create_cluster && var.private_cluster && !var.autopilot_cluster ? 1 : 0
count = var.create_cluster && var.private_cluster && !var.autopilot_cluster ? 1 : 0
depends_on = [
google_project_service.project_services
]
Expand Down Expand Up @@ -157,7 +157,7 @@ module "private-gke-standard-cluster" {

## create private GKE autopilot
module "private-gke-autopilot-cluster" {
count = var.create_cluster && var.private_cluster && var.autopilot_cluster ? 1 : 0
count = var.create_cluster && var.private_cluster && var.autopilot_cluster ? 1 : 0
depends_on = [
google_project_service.project_services
]
Expand Down
4 changes: 2 additions & 2 deletions applications/genai-on-gke/platform/variables.tf
Original file line number Diff line number Diff line change
Expand Up @@ -104,9 +104,9 @@ variable "cluster_name" {
}

variable "cluster_labels" {
type = map
type = map(any)
description = "GKE cluster labels"
default = {
default = {
"cloud.google.com/gke-profile" = "ai-on-gke"
}
}
Expand Down

0 comments on commit 3ce45a3

Please sign in to comment.