Terraform use module in module?

Hello dear community,

I would like to be able to use a Terraform module in a Terraform module for a project.
As a basis I have the Git repository “terraform_module”, where for example an Azure linux web app is built as a module with the name “docker-app” and the necessary input and output variables.
However, I would now like to use the “docker-app” module in another repository, adapt/change application-specific configurations and add other input and output variables if necessary.
Is it then possible to use the second module, which is derived from another module, in a Terraform project?

I hope it has become clear what I mean :slight_smile:
I would be very happy about your support.