forked from oracle-quickstart/oci-arch-cross-tenancies
-
Notifications
You must be signed in to change notification settings - Fork 0
/
provider.tf
46 lines (41 loc) · 1.44 KB
/
provider.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
42
43
44
45
46
# Copyright (c) 2020, Oracle and/or its affiliates.
# All rights reserved. The Universal Permissive License (UPL), Version 1.0 as shown at http://oss.oracle.com/licenses/upl
provider "oci" {
tenancy_ocid = var.tenancy_ocid_a
user_ocid = var.user_ocid_a
fingerprint = var.fingerprint_a
private_key_path = var.private_key_path_a
region = var.region_01_a
}
provider "oci" {
alias = "tenancy_a"
tenancy_ocid = var.tenancy_ocid_a
user_ocid = var.user_ocid_a
fingerprint = var.fingerprint_a
private_key_path = var.private_key_path_a
region = var.region_02_a
}
provider "oci" {
alias = "tenancy_b"
tenancy_ocid = var.tenancy_ocid_b
user_ocid = var.user_ocid_b
fingerprint = var.fingerprint_b
private_key_path = var.private_key_path_b
region = var.region_01_b
}
provider "oci" {
alias = "home_region_a"
tenancy_ocid = var.tenancy_ocid_a
user_ocid = var.user_ocid_a
fingerprint = var.fingerprint_a
private_key_path = var.private_key_path_a
region = var.home_region_a
}
provider "oci" {
alias = "home_region_b"
tenancy_ocid = var.tenancy_ocid_b
user_ocid = var.user_ocid_b
fingerprint = var.fingerprint_b
private_key_path = var.private_key_path_b
region = var.home_region_b
}