Skip to content

Commit 6e9a02c

Browse files
committed
fmt
1 parent 8b0cd83 commit 6e9a02c

File tree

2 files changed

+13
-13
lines changed

2 files changed

+13
-13
lines changed

examples/simple_regional_with_asm/main.tf

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -28,10 +28,10 @@ data "google_project" "project" {
2828
}
2929

3030
module "gke" {
31-
source = "../../modules/beta-public-cluster/"
32-
project_id = var.project_id
33-
name = "${local.cluster_type}-cluster${var.cluster_name_suffix}"
34-
regional = true
31+
source = "../../modules/beta-public-cluster/"
32+
project_id = var.project_id
33+
name = "${local.cluster_type}-cluster${var.cluster_name_suffix}"
34+
regional = true
3535
release_channel = "REGULAR"
3636
region = var.region
3737
network = var.network
@@ -42,22 +42,22 @@ module "gke" {
4242
cluster_resource_labels = { "mesh_id" : "proj-${data.google_project.project.number}" }
4343
node_pools = [
4444
{
45-
name = "asm-node-pool"
46-
autoscaling = false
45+
name = "asm-node-pool"
46+
autoscaling = false
4747
# ASM requires minimum 4 nodes and n1-standard-4
4848
# As this is a regional cluster we have node_count * 3 = 6 nodes
49-
node_count = 2
49+
node_count = 2
5050
machine_type = "n1-standard-4"
5151
},
5252
]
5353
}
5454

5555
module "asm" {
56-
source = "../../modules/asm"
57-
cluster_name = module.gke.name
56+
source = "../../modules/asm"
57+
cluster_name = module.gke.name
5858
cluster_endpoint = module.gke.endpoint
59-
project_id = var.project_id
60-
location = module.gke.location
59+
project_id = var.project_id
60+
location = module.gke.location
6161
}
6262

6363
data "google_client_config" "default" {

modules/asm/main.tf

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,8 +24,8 @@ data "google_client_config" "default" {
2424
}
2525

2626
module "asm_install" {
27-
source = "terraform-google-modules/gcloud/google"
28-
version = "~> 1.0"
27+
source = "terraform-google-modules/gcloud/google"
28+
version = "~> 1.0"
2929
module_depends_on = [var.cluster_endpoint]
3030

3131
platform = "linux"

0 commit comments

Comments
 (0)