forked from oracle-quickstart/oci-arch-vip
-
Notifications
You must be signed in to change notification settings - Fork 0
/
terraform.tfvars.template
45 lines (38 loc) · 2.22 KB
/
terraform.tfvars.template
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
# GETTING STARTED
#
# 1. Download and install TerraForm (https://www.terraform.io/downloads.html)
# 2. Download and install the OCI TerraForm provider (https://github.com/oracle/terraform-provider-oci/)
# 3. Make sure that you have an OCI API key setup
# See https://docs.us-phoenix-1.oraclecloud.com/Content/API/Concepts/apisigningkey.htm for directions on creating an API signing key
# See https://docs.us-phoenix-1.oraclecloud.com/Content/Identity/Tasks/managingcredentials.htm on how to manage API keys in the OCI UI or API
# 4. Copy your tenancy OCID below (bottom part of OCI screen, after Tenancy OCID: heading)
# 5. Copy your OCI user account OCID (login to OCI > Identity > Users)
# 6. Copy the required API key fingerprint and private key path (below)
# 7. Fill-in the full path to the SSH public and private keys (this can be used when creating new instances)
# See https://docs.us-phoenix-1.oraclecloud.com/Content/GSG/Tasks/creatingkeys.htm for directions on how to create this key pair
#
# HELPFUL URLs
# * https://github.com/oracle/terraform-provider-oci/blob/master/docs/Table%20of%20Contents.md
#
# RUNNING TerraForm
#
# Once you've gone through the steps mentioned above, you need to populate your environment variables, by sourcing this file... steps are below:
# 1. Modify this file (so it reflects your OCIDs, etc.)
# 2. $ terraform init
# You only have to do this once after installing or upgrading your TerraForm plugins
# 3. $ terraform plan
# This will show you what TerraForm might do if you applied it
# 4. $ terraform apply
#############################
# TENANCY DETAILS
#############################
# Get this from the bottom of the OCI screen (after logging in, after Tenancy ID: heading)
tenancy_id = "<enancy-idt>"
# Get this from OCI > Identity > Users (for your user account)
user_id = "<user-ocid>"
# the fingerprint can be gathered from your user account (OCI > Identity > Users > click your username > API Keys fingerprint (select it, copy it and paste it below))
fingerprint = "<fingerprint>"
# this is the full path on your local system to the private key used for the API key pair
private_key_path = "<private-key-path>"
# region (us-phoenix-1, ca-toronto-1, etc)
region = "eu-frankfurt-1"