-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathproviders.tf
35 lines (31 loc) · 858 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
terraform {
required_providers {
oci = {
source = "oracle/oci"
version = "~> 4.102.0"
}
cloudflare = {
source = "cloudflare/cloudflare"
version = "~> 3.30.0"
}
}
}
variable "tenancy_ocid" { type = string }
variable "user_ocid" { type = string }
variable "private_key_path" { type = string }
variable "fingerprint" { type = string }
variable "region" { type = string }
variable "root_compartment_id" { type = string }
variable "cloudflare_email" { type = string }
variable "cloudflare_api_key" { type = string }
provider "oci" {
tenancy_ocid = var.tenancy_ocid
user_ocid = var.user_ocid
private_key_path = var.private_key_path
fingerprint = var.fingerprint
region = var.region
}
provider "cloudflare" {
email = var.cloudflare_email
api_key = var.cloudflare_api_key
}