If you can tell me a bit more, I can give you the exact code you need:
In these systems, .var or .tfvars files are used to define the actual values for variables declared in your project's code. Expected Content Structure
Files named terraform.tfvars or ending in .auto.tfvars are automatically loaded by the system without needing extra flags.
When loading tfvars.json as a --var -file getting error - HCP Terraform
dlskd9 = { simply_sports = { version = 1 # other attributes } } Use code with caution. Copied to clipboard TF_VAR_dlskd9_simply_sports_1="value" 💡 Key Usage Tips
Are you trying to the file or reference it in a script?
What are you trying to store in this variable (a name, a numerical ID, a list of teams)?