JetBrains / package-search-gradle-plugins

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

.../build/terraform/main/runtimeExecution #16

Closed ablx closed 2 years ago

ablx commented 2 years ago

Hey, I just used the basic example form the docu:

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').

I can see that the plugin loads terraform. I have some *tf in /src/main/terraform.

Running on Ubuntu 20.10 with Java 17.

ablx commented 2 years ago

Sorry, terraform folder was not in main.