Files
terraform-talos/oracle/prepare/auth.tf
Serge Logvinov 37cea512d3 Images capability
2021-12-19 11:25:03 +02:00

13 lines
369 B
HCL

# openssl genrsa -out ~/.oci/oci_api_key.pem 2048
# chmod go-rwx ~/.oci/oci_api_key.pem
# openssl rsa -pubout -in ~/.oci/oci_api_key.pem -out ~/.oci/oci_api_key_public.pem
provider "oci" {
tenancy_ocid = var.tenancy_ocid
user_ocid = var.user_ocid
fingerprint = var.fingerprint
private_key_path = var.key_file
region = var.region
}