JetBrains / package-search-gradle-plugins

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

How to pass terraform.tfvars #12

Open Pola93 opened 2 years ago

Pola93 commented 2 years ago

I got another question. Is there a simple way to point terraform.tfvars file as a source of variables values instead of

planVariable("AWS_REGION", "eu-central-1")
planVariable("ENVIRONMENT", "dev")

Or how can I execute the gradle task so terrafom apply is executed with a flag like -var-file?

lamba92 commented 2 years ago

There is no such functionality atm. I will add it in the next release

Pola93 commented 2 years ago

Thanks :)