generated from oracle-devrel/repo-template
-
Notifications
You must be signed in to change notification settings - Fork 3
/
provider.tf
40 lines (33 loc) · 1015 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
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
## Copyright (c) 2023, 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 = ">= 1.0"
required_providers {
oci = {
source = "oracle/oci"
}
}
}
provider "oci" {
tenancy_ocid = var.tenancy_ocid
region = var.region
#user_ocid = var.user_ocid
#fingerprint = var.fingerprint
#private_key_path = var.private_key_path
}
provider "oci" {
alias = "home_region"
tenancy_ocid = var.tenancy_ocid
region = lookup(data.oci_identity_regions.home_region.regions[0], "name")
#user_ocid = var.user_ocid
#fingerprint = var.fingerprint
#private_key_path = var.private_key_path
}
provider "oci" {
alias = "current_region"
tenancy_ocid = var.tenancy_ocid
region = var.region
#user_ocid = var.user_ocid
#fingerprint = var.fingerprint
#private_key_path = var.private_key_path
}