Skip to content

Commit c13bac7

Browse files
committed
Add provider files.
1 parent db8c759 commit c13bac7

File tree

3 files changed

+33
-0
lines changed

3 files changed

+33
-0
lines changed

oci/oci_provider/README.md

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
# Terraform : Oracle Cloud Infrastructure (OCI) Provider
2+
3+
Usage description.
4+
5+
* [Terraform : Oracle Cloud Infrastructure (OCI) Provider](https://oracle-base.com/articles/misc/terraform-oci-provider).
6+
7+
Related articles.
8+
9+
* [Terraform : All Articles](https://oracle-base.com/articles/misc/articles-misc#terraform)

oci/oci_provider/oci_provider.tf

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
# Variables.
2+
variable "tenancy_ocid" { type = string }
3+
variable "user_ocid" { type = string }
4+
variable "private_key_path" { type = string }
5+
variable "fingerprint" { type = string }
6+
variable "region" { type = string }
7+
variable "root_compartment_id" { type = string }
8+
9+
10+
# Resources
11+
provider "oci" {
12+
tenancy_ocid = var.tenancy_ocid
13+
user_ocid = var.user_ocid
14+
private_key_path = var.private_key_path
15+
fingerprint = var.fingerprint
16+
region = var.region
17+
}
Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
# Amend with your details.
2+
tenancy_ocid = "ocid1.tenancy.oc1..aaaaaaaa..."
3+
user_ocid = "ocid1.user.oc1..aaaaaaaa..."
4+
private_key_path = "/path-to-my/.oci/my-oci-key.pem"
5+
fingerprint = "a5:68:0f:46:6d:06:43:5a:38:98:74:??:??:??:??:??"
6+
region = "uk-london-1"
7+
root_compartment_id = "ocid1.tenancy.oc1..aaaaaaaa..."

0 commit comments

Comments
 (0)