Pour tout problème contactez-nous par mail : support@froggit.fr | La FAQ :grey_question: | Rejoignez-nous sur le Chat :speech_balloon:

Skip to content
Snippets Groups Projects
Commit 500c5f5e authored by Nicolas's avatar Nicolas
Browse files

Add API_KEY variable

parent caeb0179
No related branches found
No related tags found
No related merge requests found
...@@ -7,6 +7,8 @@ elastic: ...@@ -7,6 +7,8 @@ elastic:
image: image:
name: "hashicorp/terraform:1.0.11" name: "hashicorp/terraform:1.0.11"
entrypoint: [""] entrypoint: [""]
variables:
TF_VAR_ec_apikey: $EC_API_KEY
script: script:
- cd ./manifests/elastic - cd ./manifests/elastic
- terraform init - terraform init
......
...@@ -7,4 +7,6 @@ terraform { ...@@ -7,4 +7,6 @@ terraform {
} }
} }
provider "ec" {} provider "ec" {
\ No newline at end of file apikey = var.ec_apikey
}
\ No newline at end of file
variable "ec_apikey" {
type = string
}
\ No newline at end of file
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment