When loading tfvars.json as a --var -file getting error - HCP Terraform
Are you trying to the file or reference it in a script?
To provide the content for this specific variable, you would typically use a pair. Depending on the exact system you are using, the content for a file associated with dlskd9.simply_sports.1.var would look like one of the following: dlskd9.simply_sports.1.var
dlskd9 = { simply_sports = { version = 1 # other attributes } } Use code with caution. Copied to clipboard TF_VAR_dlskd9_simply_sports_1="value" 💡 Key Usage Tips
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 When loading tfvars
What are you using (Terraform, a specific sports management app, etc.)?
The string dlskd9.simply_sports.1.var refers to a specific variable path, likely within a software environment or a configuration management system like or a similar Infrastructure as Code (IaC) framework. a specific sports management app
Use .tfvars files to separate your environment-specific values (like "dev" or "prod") from your core logic.