Open drewdouglass1 opened 5 years ago
we don't recommend putting these values in variables.tf
or terraform.tfvars
as these can easily get committed into source control by mistake. we purposely removed these so that you won't get into that situation. instead, use the following environment variables before running the terraform:
export SL_USERNAME=<username>
export SL_API_KEY=<api key>
btw, i did notice our documenation on this page says to put this stuff in terraform.tfvars
and it's wrong. we will update the documentation.
Received the error below using the most recent code available.
I was able to fix this issue by updating the main.tf with:
and the variables.tf with