package-search-gradle-plugins icon indicating copy to clipboard operation
package-search-gradle-plugins copied to clipboard

How to pass terraform.tfvars

Open Pola93 opened this issue 3 years ago • 2 comments

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?

Pola93 avatar Jan 17 '22 13:01 Pola93

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

lamba92 avatar Jan 17 '22 16:01 lamba92

Thanks :)

Pola93 avatar Jan 17 '22 20:01 Pola93