From 661862b67ea577c71e6b7d97542da91564ed9509 Mon Sep 17 00:00:00 2001
From: Christophe Chaudier <christophe@lydra.fr>
Date: Mon, 31 May 2021 11:40:12 +0200
Subject: [PATCH] feat: add terraform pipeline template

---
 README-fr.md                     |  2 +-
 templates/pipeline/terraform.yml | 21 +++++++++++++++++++++
 2 files changed, 22 insertions(+), 1 deletion(-)
 create mode 100644 templates/pipeline/terraform.yml

diff --git a/README-fr.md b/README-fr.md
index bb5266e..84088bb 100644
--- a/README-fr.md
+++ b/README-fr.md
@@ -96,7 +96,7 @@ node:test:
 
 #### Les étapes
 
-##### info
+##### Info
 
 Cette étape sert à informer les utilisateurs de la CI.
 On peut y mettre un peu ce que l'on veut.
diff --git a/templates/pipeline/terraform.yml b/templates/pipeline/terraform.yml
new file mode 100644
index 0000000..7c9abaa
--- /dev/null
+++ b/templates/pipeline/terraform.yml
@@ -0,0 +1,21 @@
+# Pipeline template for a Terraform code
+#
+# This template always use the jobs with the same tag
+# of the called pipeline.
+# If you include the pipeline 0.1.0 the jobes
+# of the tag 0.1.0 are used.
+#
+# For use this pipeline :
+#
+# include:
+#   - project: 'lydra/gitlab-ci-templates'
+#     ref:     '0.1.0'
+#     file:
+#       - '/templates/pipeline/ansible.yml'
+
+include:
+  - project: 'lydra/gitlab-ci-templates'
+    ref:     '0.1.0'
+    file:
+      - '/templates/stages.yml'
+      - '/templates/job/terraform/lint.yml'
-- 
GitLab