Skip to main content

Where are GitLab CI templates

Updated 1 min readMarkdown
Part of seriesGitLab

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

...

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.

About the author

  • I'm JS developer with 13 years of professional experience. I'm always happy to teach my craft.

No comments yet. Be the first to comment.

More from this blog