Skip to content
This repository was archived by the owner on Aug 14, 2025. It is now read-only.

Commit 366b4ed

Browse files
committed
automate fingerprint
1 parent 11da89e commit 366b4ed

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

env-vars

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -3,14 +3,14 @@
33
export TF_VAR_tenancy_ocid="<tenancy OCID>"
44
export TF_VAR_user_ocid="<user OCID>"
55

6-
### Region
7-
export TF_VAR_region="us-ashburn-1"
8-
96
### Compartment
107
export TF_VAR_compartment_ocid="<compartment OCID>"
118

9+
### Region
10+
export TF_VAR_region="us-ashburn-1"
11+
1212
### Keys used by OCI
13-
export TF_VAR_fingerprint="<PEM key fingerprint>"
13+
export TF_VAR_fingerprint=$(openssl rsa -pubout -outform DER -in ~/.oci/oci_api_key.pem | openssl md5 -c)
1414
export TF_VAR_private_key_path="~/.oci/oci_api_key.pem"
1515

1616
### Keys used to SSH to VMs

0 commit comments

Comments
 (0)