I want to use Terraform Cloud for remote state, but run it from our CI environment. I’ve created a team token that I would like to use, but all the documentation suggests I have to create a .terraformrc
file and put the value in that.
Is it possible to pass the team token through an environment variable, or do I need to create a .terraformrc
file as part of each of my CI runs?