From a0987d2665c60d5336bb9b257cb7262cdcad7a4a Mon Sep 17 00:00:00 2001 From: Maxime Noel Date: Thu, 12 Dec 2024 14:26:26 +1300 Subject: [PATCH] Set product version to null for mirror and controller to get the public tool repositories --- ...EManager-5.0-build-validation-paygo-AWS.tf | 1 + terracumber_config/tf_files/aws_mirror.tf | 25 ++++++++++--------- 2 files changed, 14 insertions(+), 12 deletions(-) diff --git a/terracumber_config/tf_files/SUSEManager-5.0-build-validation-paygo-AWS.tf b/terracumber_config/tf_files/SUSEManager-5.0-build-validation-paygo-AWS.tf index afc72f6e2..7cd9e2006 100644 --- a/terracumber_config/tf_files/SUSEManager-5.0-build-validation-paygo-AWS.tf +++ b/terracumber_config/tf_files/SUSEManager-5.0-build-validation-paygo-AWS.tf @@ -445,6 +445,7 @@ module "sles15sp6_sshminion" { module "controller" { source = "./modules/controller" name = "controller" + product_version = "" provider_settings = { instance_type = "c6i.xlarge" } diff --git a/terracumber_config/tf_files/aws_mirror.tf b/terracumber_config/tf_files/aws_mirror.tf index 11c487046..30ac3eaa7 100644 --- a/terracumber_config/tf_files/aws_mirror.tf +++ b/terracumber_config/tf_files/aws_mirror.tf @@ -125,20 +125,21 @@ provider "aws" { } module "base" { - source = "./modules/base" - product_version = "uyuni-master" - cc_username = var.SCC_USER - cc_password = var.SCC_PASSWORD - name_prefix = var.NAME_PREFIX - testsuite = true - use_avahi = false - use_eip_bastion = false + source = "./modules/base" + // Set product_version to null to get the public tools repositories + product_version = "" + cc_username = var.SCC_USER + cc_password = var.SCC_PASSWORD + name_prefix = var.NAME_PREFIX + testsuite = true + use_avahi = false + use_eip_bastion = false provider_settings = { availability_zone = var.AVAILABILITY_ZONE - region = var.REGION - ssh_allowed_ips = var.ALLOWED_IPS - key_name = var.KEY_NAME - key_file = var.KEY_FILE + region = var.REGION + ssh_allowed_ips = var.ALLOWED_IPS + key_name = var.KEY_NAME + key_file = var.KEY_FILE # route53_domain = local.domain bastion_host = "${var.NAME_PREFIX}-bastion.${local.domain}" }