JetBrains / package-search-gradle-plugins

Gradle plugins for Docker, Terraform and Liquibase.
Apache License 2.0
32 stars 7 forks source link

Multiple levels of tfModules #26

Open agascon opened 9 months ago

agascon commented 9 months ago

Hi team,

We are trying to build a gradle project for developing a serverless application (basically composed by lambdas + other AWS resources)

To organize all this code, we are splitting the different tf script in modules, initially in just 2 levels:

This is working perfect and we can deploy at any target by running something like...

gradle clean :terraform:_targets:production:terraformApply

Now, we are introducing some shared modules to reuse tf scripts, for example monitoring resources. for example...

With this setup, gradle fails with some error as the module source in the lambda tfmodule was not found?

Is this configuration with multiple nested tfModules expected to work? Or only something like in the original example is supported?

Thanks!