Skip to content

Pass through registry_config block #62

Open
@sww262

Description

@sww262

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions