Gitlab Runner Environment Variables

Hello, I’m trying to test my .gitlab-ci file on my Mac. I’m using the gitlab runner. My CI file has some terraform init commands which require AWS credentials. When I echo “AWS_ACCESS_KEY_ID” it shows up as blank, but I have the environment variables configured in my ~/.gitlab-runner/config.toml file

This is what I have under runners. I don’t understand why the environment variables aren’t showing up. It works if I pass in through the CLI using --env, but I’m trying to avoid that.
[[runners]]
environment = [“AWS_SDK_LOAD_CONFIG=true”,“AWS_ACCESS_KEY_ID=abc”, “AWS_SECRET_ACCESS_KEY=123”]