Getting started with 1Password for your growing team, or refining your setup? Our Secured Success quickstart guide is for you.
Forum Discussion
Former Member
4 years agoCLI with Terraform Cloud
When interacting with Terraform services, Terraform expects to find API tokens in CLI configuration files in credentials blocks, for example, a file named .terraformrc
credentials "app.terraform.io...
Former Member
4 years agoHey @rbracewe,
Can you give us more details about your use-case, please?
Specifically, would it be feasible for you to change the location of your Terraform token? I see that there is a possibility to provision Terraform with the token through an environment variable: TFE_TOKEN
. In this situation, I imagine it would possible to set it to a 1Password secret reference and to prefix terraform plan
with op run --
, or even create an alias for terraform
as op run -- terraform
in your profile.
Let me know if this solution can work for you.
Best,
Horia