-
Notifications
You must be signed in to change notification settings - Fork 8
Expand file tree
/
Copy pathprovider.tf
More file actions
30 lines (24 loc) · 815 Bytes
/
provider.tf
File metadata and controls
30 lines (24 loc) · 815 Bytes
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
# Copyright (c) 2019, 2021, Oracle Corporation and/or affiliates.
# Licensed under the Universal Permissive License v 1.0 as shown at https://oss.oracle.com/licenses/upl
terraform {
required_version = ">= 1.0.0"
required_providers {
oci = {
version = ">= 4.0.0"
}
}
}
# Default Provider
provider "oci" {
region = var.region
tenancy_ocid = var.tenancy_ocid
### FOR ORM USAGE, COMMENT THE TERRAFORM CLI AND OCI CLOUD SHELL SECTIONS
### BEGIN UNCOMMENT FOR TERRAFORM CLI (running locally)
user_ocid = var.user_ocid
fingerprint = var.api_fingerprint
private_key_path = var.api_private_key_path
### END UNCOMMENT FOR TERRAFORM CLI (running locally)
### BEGIN UNCOMMENT FOR OCI CLOUD SHELL
# auth = "InstancePrincipal"
### END UNCOMMENT FOR OCI CLOUD SHELL
}