I'm quite new to Terraform, though I have gone through all of the instructional modules available on Hashicorp's site.
Currently, I'm struggling with understanding how to set up environment variables. I know how to reference variables in the main.tf config (access_key = "${var.access_key}"
), and I know how to save that access key to a separate file and reference that, but what I don't understand (and can't find any documentation/instruction on) is how to set up environment variables so I don't have to save the access key to a file.
Does anyone know how best to go about doing this?