Quickstart template does not work for multi module project

Hello,

I am having trouble using this plugin with a multi module gradle project.

I have reproduced the problem with a sample project that has only two files

  • settings.gradle
  • tools
    • build.gradle
// tools/build.gradle
plugins {
    id 'groovy-gradle-plugin'
    id 'org.ysb33r.terraform'                            version '1.0.1'  
}
repositories {
    gradlePluginPortal()
}

dependencies {
}
// settings.gradle

rootProject.name = 'sandbox'
include(
    'tools',
)

Running gradle check gives the following error

* What went wrong:
An exception occurred applying plugin request [id: 'org.ysb33r.terraform', version: '1.0.1']
> Failed to apply plugin class 'org.ysb33r.gradle.terraform.plugins.TerraformBasePlugin'.
   > Could not create an instance of type org.ysb33r.gradle.terraform.internal.DefaultTerraformSourceSets.
      > Cannot locate a TerraformRC Extension in this project or the root project

Is this type of setup supported? If so, what is the appropriate configuration to resolve this error?

Edited by Nick
To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information