forked from oracle-quickstart/oci-arch-tomcat-mds
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathprovider.tf
24 lines (21 loc) · 812 Bytes
/
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
## Copyright © 2021, 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
terraform {
required_version = ">= 0.12.0"
}
provider "oci" {
tenancy_ocid = var.tenancy_ocid
region = var.region
fingerprint = var.fingerprint
user_ocid = var.user_ocid
private_key_path = var.private_key_path
}
provider "oci" {
alias = "homeregion"
tenancy_ocid = var.tenancy_ocid
user_ocid = var.user_ocid
fingerprint = var.fingerprint
private_key_path = var.private_key_path
region = data.oci_identity_region_subscriptions.home_region_subscriptions.region_subscriptions[0].region_name
disable_auto_retries = "true"
}