Now in order to create the terraform resources automatically, we need to create a workflow file
Create .gitlab-ci.yml file and add the below code to it
The below job will run on every push and pull request that happens on the master branch. In the build section, I have specified the image name and commands in the script section.