Description
Can a variable registry_config be created to pass through to module "rosa_cluster_hcp?"
variable "registry_config" {
description = "Registry configuration for this cluster, eg. allowed and blocked registries."
type = map(any)
default = {}
}
Definition here:
https://registry.terraform.io/providers/terraform-redhat/rhcs/latest/docs/resources/cluster_rosa_hcp#nestedatt--registry_config
I have a task to deploy Rosa-HCP with Terraform. Due to budgets and approvals I have no experience with this module and I am not sure if there are constraints or errors caused by passing an empty registry_config as var.registry_config to the rhcs_cluster_rosa_hcp. Unfortunately, I currently have to rely on experience with other terraform providers behavior. Creating a whitelist of registries allowed happens to be one of the requirements and I do not know how to do it any other way in terraform at the moment, and I am trying to avoid using multiple technologies (ACM, Gitops) to manage the cluster. Obviously I want to do as much bootstrapping with terraform as possible.