Description
Make namespace in destination as a list of string then you won't have to duplicate other fields and there will be less code
Potential Terraform Configuration
"dev" = {
source_repos = ["*"]
destination = [{
server = ""
name = ""
namespace = ["dev" , "prod"] list of namespaces
}]
cluster_resource_whitelist = [{
group = "*"
kind = "*"
}]
role = [
{
name = ""
policies = [""]
groups = [""]
}
]
},