I want to pass variables gotten from gitlab to my terraform. I can see gitlab getting the vars but it errors out at the terraform apply/
In my gitlab file i have
- echo "$CI_COMMIT_REF_SLUG"
- echo "$GITLAB_USER_NAME"
- terraform apply --auto-approve -var branch_name=$CI_COMMIT_REF_SLUG -var branch_creator=$GITLAB_USER_NAME
in my terraform i'm setting branch_name and etc as variables
i keep getting this error in my gitlab build
Failed to load Terraform configuration or plan: open "last name": no such file or directory