Use multiple cloud providers as submodule in main module

In my reuqirement scenario where I am making a common module for aws, gcp and azure to deploy a helm chart each of them as submodule inside a module like following

tree terraform-multi/

terraform-multi/

└── modules

├── aws-irsa

├── azure-iam

└── gcp-iam

In given code all submodules will be called as per requirement from terraform-k8s-velero/main.tf and common variables.tf

In my module input I will call I will call mentioned module terraform-multi for each cloud provider, concern is as variable.tf for terraform-multi will be common hence it will create a problem when certain variables of related to module of gcp or azure will not be required and only aws will be required. how to handle the condition with lazy evaluation of terraform in this scenario