Skip to content

Commit

Permalink
Set product version to null for mirror and controller to get the publ…
Browse files Browse the repository at this point in the history
…ic tool repositories
  • Loading branch information
maximenoel8 committed Dec 12, 2024
1 parent bc3121c commit a0987d2
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 12 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -445,6 +445,7 @@ module "sles15sp6_sshminion" {
module "controller" {
source = "./modules/controller"
name = "controller"
product_version = ""
provider_settings = {
instance_type = "c6i.xlarge"
}
Expand Down
25 changes: 13 additions & 12 deletions terracumber_config/tf_files/aws_mirror.tf
Original file line number Diff line number Diff line change
Expand Up @@ -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}"
}
Expand Down

0 comments on commit a0987d2

Please sign in to comment.