Skip to Main Content

Cloud Platform

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Setting up Kubernetes cluster on OCI using Terraform

2684097Dec 5 2017 — edited Mar 20 2018

Hi,

I am carrying out the steps from the Terraform Kubernetes Installer for OCI https://github.com/oracle/terraform-kubernetes-installer/blob/master/README.md

I keep getting the following errors. I create an API key and used the private key (.pem file) that in the terraform.tfvars. I've replace all the other variables with the other information tenancy_ocid, compartment_ocid, fingerprint, private_key_path, user_ocid, region. Not sure why am I getting these authentication errors. Any ideas?

Error: Error refreshing state: 21 error(s) occurred:

* module.instances-k8sworker-ad1.data.oci_core_images.ImageOCID: 1 error(s) occurred:

* module.instances-k8sworker-ad1.data.oci_core_images.ImageOCID: data.oci_core_images.ImageOCID: Status: 401; Code: NotAuthenticated; OPC Request ID: /BA17E77A08A93A2255C8D765F0AA4D6B/1C331428B46971DA783C244CBCF5AEA8; Message: The required information to complete authentication was not provided or was incorrect.

* data.oci_identity_availability_domains.ADs: 1 error(s) occurred:

* data.oci_identity_availability_domains.ADs: data.oci_identity_availability_domains.ADs: Status: 401; Code: NotAuthenticated; OPC Request ID: /DFDD12800BEE4E2813CD9968863869CA/E30CBA85A747C36EF63AD3C3C577621A; Message: The required information to complete authentication was not provided or was incorrect.

* module.instances-k8smaster-ad2.data.oci_core_images.ImageOCID: 1 error(s) occurred:

* module.instances-k8smaster-ad2.data.oci_core_images.ImageOCID: data.oci_core_images.ImageOCID: Status: 401; Code: NotAuthenticated; OPC Request ID: /C3649F873A992F731FDA6428CFCD3C28/64392B076E08FA4C9989826BBDFA69ED; Message: The required information to complete authentication was not provided or was incorrect.

* module.instances-etcd-ad1.data.oci_identity_availability_domains.ADs: 1 error(s) occurred:

......

..

..

This post has been answered by 2684097 on Dec 5 2017
Jump to Answer
Comments
Post Details
Added on Dec 5 2017
13 comments
2,340 views