-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathproviders.tf
41 lines (37 loc) · 918 Bytes
/
providers.tf
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
terraform {
required_providers {
confluent = {
source = "confluentinc/confluent"
version = "1.61.0"
}
mongodbatlas = {
source = "mongodb/mongodbatlas"
version = "1.8.0"
}
shell = {
source = "scottwinkler/shell"
version = "1.7.10"
}
external = {
source = "hashicorp/external"
version = "2.2.3"
}
}
}
provider "confluent" {
# Environment variables to be set on ./env_credentials.sh (see README.md)
#CONFLUENT_CLOUD_API_KEY = "XXXXX"
#CONFLUENT_CLOUD_API_SECRET = "XXXXX"
}
provider "mongodbatlas" {
# Environment variables to be set on ./env_credentials.sh (see README.md)
#public_key = "XXXXX"
#private_key = "XXXXX"
}
provider "shell" {
interpreter = ["/bin/sh", "-c"]
enable_parallelism = false
}
data "external" "env_vars" {
program = ["${path.module}/shell/env_terraform.sh"]
}