forked from oci-landing-zones/oracle-enterprise-landingzone
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathproviders.tf
72 lines (64 loc) · 2.27 KB
/
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
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
# -----------------------------------------------------------------------------
# Provider Requirements if using stack as a module
# -----------------------------------------------------------------------------
terraform {
required_version = ">= 1.0.0"
required_providers {
oci = {
source = "oracle/oci"
version = "5.9.0"
configuration_aliases = [oci, oci.home_region]
}
}
}
# # -----------------------------------------------------------------------------
# # WARNING!
# # UNCOMMENT EVERYTHING BELOW AND COMMENT EVERYTHING ABOVE IF YOU WISH TO USE THIS
# # STACK AS A STANDALONE - DO NOT TOUCH IF USING THIS STACK IN A MODULE CALL
# # Provider Requirements if using stack as standalone
# # -----------------------------------------------------------------------------
# terraform {
# required_version = ">= 1.0.0"
# required_providers {
# oci = {
# source = "oracle/oci"
# version = "5.9.0"
# }
# }
# }
# # -----------------------------------------------------------------------------
# # Provider blocks for home region and alternate region(s)
# # -----------------------------------------------------------------------------
# provider "oci" {
# tenancy_ocid = var.tenancy_ocid
# user_ocid = var.current_user_ocid
# fingerprint = var.api_fingerprint
# private_key_path = var.api_private_key_path
# region = var.region
# }
# provider "oci" {
# alias = "home_region"
# tenancy_ocid = var.tenancy_ocid
# user_ocid = var.current_user_ocid
# fingerprint = var.api_fingerprint
# private_key_path = var.api_private_key_path
# region = local.home_region[0]
# }
# # -----------------------------------------------------------------------------
# # Provider Variables
# # -----------------------------------------------------------------------------
# variable "current_user_ocid" {
# type = string
# description = "The OCID of the current user"
# default = ""
# }
# variable "api_fingerprint" {
# type = string
# description = "The fingerprint of API"
# default = ""
# }
# variable "api_private_key_path" {
# type = string
# description = "The local path to the API private key"
# default = ""
# }