DEV Community

Marcin Wosinek
Marcin Wosinek

Posted on • Originally published at how-to.dev

Where are GitLab CI templates

If you try to follow GitLab's guide about Terraform you can be pretty confused by part of .gitlab-ci.yml:

include:
  - template: Terraform.gitlab-ci.yml

...
Enter fullscreen mode Exit fullscreen mode

which seems to be doing most of the work in the example. Great that there is some way of having configuration templates, and great that they provided one for Terraform set up. The problem is that in the current state of the doc, it's pretty counter-intuitive to find the location of the files that we are including inside our configuration.

The files we are interested in are:

I hope it will help some of you - I was really relieved to find those, and it removed one of the obstacles I had for getting Terraform managed deployment up & running in GitLab.

Discussion (0)