I have been trying to do poc with Gitlab CI in order to deploy my ec2 instance using Terrafrom.
I have created a main.tf file and pused into my gitlab repo, but I am not quite sure how to provide terraform provider crednetials in order to deploy ec2 on aws.
Can soneone guide me how I can deploy my infra using Terrafrom using Gitlab CI?
- I am running a shared runner on Linux with ‘Shell’ executor
- Runner is running file and able to delopy NodeJs application