Extensions configuration in a Kotless gradle plugin defines different extensions for Kotless pipeline.

Via Extensions API you may add user's terraform files to generated terraform code. It may be useful in case you have some resource, that cannot be created by Kotless itself, but is used by Kotless based application. For example, via terraform extension you can create a DynamoDB table that will be used by Kotless-based application.

Also, via Extensions API you can enable `destroy` task in Gradle. It is hidden by default for safety reasons

extensions {
    terraform {
        //Enable back Destroy task
        allowDestroy = true

        files {
            // Add file to deployment code