Skip to content

mranders-hltv/terraform.kt

 
 

Repository files navigation

Terraform.kt

Terraform.kt project aims to bring all the advantages of using Kotlin language to the process of writing Terraform configuration files.

Use terraform.kt in gradle via:

repositories {
    maven(url = uri("https://packages.jetbrains.team/maven/p/ktls/maven"))
}

Example

For the example of generating and using Kotlin DSL see example/aws folder. To generate Kotlin DSL files run

./gradlew generateTerraform

For the usage of Kotlin DSL the following commands are supported:

  • generate() - generates Terraform configuration files in HCL from Kotlin DSL
  • plan() - generates Terraform configuration files and runs terraform plan against them
  • apply() - generates Terraform configuration files and runs terraform apply against them

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Kotlin 96.2%
  • HCL 3.8%