Skip to content

Commit

Permalink
fix(examples): don't point to registry for modules
Browse files Browse the repository at this point in the history
  • Loading branch information
finken2 committed Jun 5, 2024
1 parent 1cbeaad commit 99423d1
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 4 deletions.
8 changes: 6 additions & 2 deletions examples/satellite-azure/cluster.tf
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,9 @@
# Create satellite ROKS cluster
###################################################################
module "satellite-cluster" {
source = "terraform-ibm-modules/satellite/ibm//modules/cluster"
// source = "terraform-ibm-modules/satellite/ibm//modules/cluster"

source = "../../modules/cluster"

depends_on = [module.satellite-host]
create_cluster = var.create_cluster
Expand All @@ -29,7 +31,9 @@ module "satellite-cluster" {
# Create worker pool on existing ROKS cluster
###################################################################
module "satellite-cluster-worker-pool" {
source = "terraform-ibm-modules/satellite/ibm//modules/configure-cluster-worker-pool"
// source = "terraform-ibm-modules/satellite/ibm//modules/configure-cluster-worker-pool"

source = "../../modules/configure-cluster-worker-pool"

depends_on = [module.satellite-cluster]
create_cluster_worker_pool = var.create_cluster_worker_pool
Expand Down
7 changes: 5 additions & 2 deletions examples/satellite-vmware/main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,9 @@ locals {
}

module "satellite-location" {
source = "terraform-ibm-modules/satellite/ibm//modules/location"
// source = "terraform-ibm-modules/satellite/ibm//modules/location"
source = "../../modules/location"

is_location_exist = var.is_location_exist
coreos_enabled = true
coreos_host = true
Expand Down Expand Up @@ -269,7 +271,8 @@ resource "vcd_vm_internal_disk" "storage_disks_2" {

# Assign control plane hosts to control plane
module "satellite-host" {
source = "terraform-ibm-modules/satellite/ibm//modules/host"
// source = "terraform-ibm-modules/satellite/ibm//modules/host"
source = "../../modules/host"
host_count = var.num_control_plane_hosts
location = module.satellite-location.location_id
host_vms = [for v in vcd_vapp_vm.control_plane_vms : v.name]
Expand Down

0 comments on commit 99423d1

Please sign in to comment.