Do I have to include gitlab variables in my terraform code in order for my credentials to be recognized?
The answer to this question is no. I merely forgot to export the AWS_SECRET_ACCESS_KEY variable in the before_script section.