Skip to content

Commit

Permalink
terraform: Fix modules path
Browse files Browse the repository at this point in the history
Modules path was not changed after Terraform resources relocation done
in : #2482.

Signed-off-by: Arnaud Meukam <[email protected]>
  • Loading branch information
ameukam committed Aug 30, 2021
1 parent e90b35c commit 8c5c575
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 7 deletions.
6 changes: 3 additions & 3 deletions infra/gcp/terraform/k8s-infra-prow-build-trusted/main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ data "google_organization" "org" {
}

module "project" {
source = "../../../modules/gke-project"
source = "../modules/gke-project"
project_id = local.project_id
project_name = local.project_id
}
Expand Down Expand Up @@ -237,7 +237,7 @@ resource "google_compute_address" "ghproxy_metrics_address" {
}

module "prow_build_cluster" {
source = "../../../modules/gke-cluster"
source = "../modules/gke-cluster"
project_name = local.project_id
cluster_name = local.cluster_name
cluster_location = local.cluster_location
Expand All @@ -249,7 +249,7 @@ module "prow_build_cluster" {
}

module "prow_build_nodepool" {
source = "../../../modules/gke-nodepool"
source = "../modules/gke-nodepool"
project_name = local.project_id
cluster_name = module.prow_build_cluster.cluster.name
location = module.prow_build_cluster.cluster.location
Expand Down
8 changes: 4 additions & 4 deletions infra/gcp/terraform/k8s-infra-prow-build/main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ data "google_organization" "org" {
}

module "project" {
source = "../../../modules/gke-project"
source = "../modules/gke-project"
project_id = local.project_id
project_name = local.project_id
}
Expand Down Expand Up @@ -125,7 +125,7 @@ resource "google_compute_address" "greenhouse_metrics" {
}

module "prow_build_cluster" {
source = "../../../modules/gke-cluster"
source = "../modules/gke-cluster"
project_name = local.project_id
cluster_name = local.cluster_name
cluster_location = local.cluster_location
Expand All @@ -137,7 +137,7 @@ module "prow_build_cluster" {
}

module "prow_build_nodepool_n1_highmem_8_maxiops" {
source = "../../../modules/gke-nodepool"
source = "../modules/gke-nodepool"
project_name = local.project_id
cluster_name = module.prow_build_cluster.cluster.name
location = module.prow_build_cluster.cluster.location
Expand All @@ -157,7 +157,7 @@ module "prow_build_nodepool_n1_highmem_8_maxiops" {
}

module "greenhouse_nodepool" {
source = "../../../modules/gke-nodepool"
source = "../modules/gke-nodepool"
project_name = local.project_id
cluster_name = module.prow_build_cluster.cluster.name
location = module.prow_build_cluster.cluster.location
Expand Down

0 comments on commit 8c5c575

Please sign in to comment.