-
Notifications
You must be signed in to change notification settings - Fork 685
Troubleshooting
Cody Cushing edited this page Jul 12, 2018
·
1 revision
If the Terraform CLI gives an error message like:
* oci_core_vcn.resource1: Service error:NotAuthenticated. The required information to complete authentication was not provided or was incorrect.. http status code: 401
- Verify you have properly set
user_ocid
,tenancy_ocid
,fingerprint
andprivate_key_path
- Verify your
private_key_path
is pointing to your private key and not the corresponding public key - Verify you have added the corresponding public key to the user account you have specified with
user_ocid
- Verify the public/private key pairs you are using are of the correct format
- see: Required Keys for details on the correct format and how to generate keys
- Verify the user account is part of a group with the appropriate permissions to perform the actions in the plan you are executing
- Verify your Tenancy has been subscribed to the Region you are targeting in your plan