Skip to main content

Command Palette

Search for a command to run...

Where are GitLab CI templates

Published
1 min read

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.

More from this blog

H

How to dev

164 posts

Articles about programming. JavaScript and general advice for beginners in the industry.