From 0c2b6ea13fbd0be4b361b024f422bf126ad47031 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Nicolas=20B=C3=A9jean?= <nicolas@bejean.fr>
Date: Tue, 30 Nov 2021 22:21:29 +0100
Subject: [PATCH] Add printenv

---
 .gitlab-ci.yml                 |  1 +
 manifests/elastic/main.tf      | 12 ++++++++++++
 manifests/elastic/outputs.tf   |  0
 manifests/elastic/variables.tf |  0
 4 files changed, 13 insertions(+)
 create mode 100644 manifests/elastic/main.tf
 create mode 100644 manifests/elastic/outputs.tf
 create mode 100644 manifests/elastic/variables.tf

diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index d082867..6c5d56f 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -9,3 +9,4 @@ elastic:
     entrypoint: [""]
   script:
     - terraform version
+    - printenv
diff --git a/manifests/elastic/main.tf b/manifests/elastic/main.tf
new file mode 100644
index 0000000..edf8535
--- /dev/null
+++ b/manifests/elastic/main.tf
@@ -0,0 +1,12 @@
+terraform {
+  required_providers {
+    ec = {
+      source  = "elastic/ec"
+      version = "0.3.0"
+    }
+  }
+}
+
+provider "ec" {
+  apikey = "<apiKey>"
+}
\ No newline at end of file
diff --git a/manifests/elastic/outputs.tf b/manifests/elastic/outputs.tf
new file mode 100644
index 0000000..e69de29
diff --git a/manifests/elastic/variables.tf b/manifests/elastic/variables.tf
new file mode 100644
index 0000000..e69de29
-- 
GitLab