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?
Notes:
I am running a shared runner on Linux with ‘Shell’ executor
Runner is running file and able to delopy NodeJs application
Thanks for sharing the articles; however, none of them helped in terms of setting up very simple terraform pipeline to deploy EC2 on AWS. I am only not sure about credentials (aws keys) settings on Gitlab CI.
Can anyone please help?
Thanks for sharing the articles; however, none of them helped in terms of setting up very simple terraform pipeline to deploy EC2 on AWS. I am only not sure about credentials (aws keys) settings on Gitlab CI.
Can anyone please help?