plugins {
id("org.jetbrains.gradle.terraform") version "1.4.2"
}
terraform { // TerraformExtension
version = "1.0.6"
showPlanOutputInConsole = true
showInitOutputInConsole = true
sourceSets { // NamedDomainObjectContainerScope<TerraformSourceSet>
main { // TerraformSourceSet
}
}
}
If I run gradle terraformApply, I get:
A problem was found with the configuration of task ':gcp_env:terraformMainInit' (type 'TerraformInit').
In plugin 'org.jetbrains.gradle.terraform' type 'org.jetbrains.gradle.plugins.terraform.tasks.TerraformInit' property 'sourcesDirectory' specifies directory '/smefolder/build/terraform/main/runtimeExecution' which doesn't exists.
I can see that the plugin loads terraform.
I have some *tf in /src/main/terraform.
Hey, I just used the basic example form the docu:
If I run
gradle terraformApply
, I get:A problem was found with the configuration of task ':gcp_env:terraformMainInit' (type 'TerraformInit').
I can see that the plugin loads terraform. I have some *tf in /src/main/terraform.
Running on Ubuntu 20.10 with Java 17.