terraform-provider-oci icon indicating copy to clipboard operation
terraform-provider-oci copied to clipboard

Failed to verify the HTTP(S) Signature

Open oeresundsgruppen opened this issue 11 months ago • 2 comments

terraform-provider-oci_v5.33.0.exe -command=export -compartment_name=XXX -output_path=.

gives:

Error returned by Identity Service. Http Status Code: 401. Error Code: NotAuthenticated. Opc request id: xxxxxxxxx . Message: Failed to verify the HTTP(S) Signature

I have TF_VAR_private_key_path=oci_api_key.pem, and public key is uploaded, and user is admin in OCI.

Terraform plan reports ok, and OCI runs fine, just not the provider export itself, which I need to export actual config to TF file.... Any Idea ?

oeresundsgruppen avatar Mar 15 '24 19:03 oeresundsgruppen

Thank you for reporting the issue. We observed the affected resources are not provided in the description or it's incorrect. We request you to add it in issue description as mentioned in below format. Example: affected_resources = oci_core_instance , oci_core_instances

If it's not related to any particular resource then mention affected resource as terraform. Example: affected_resources = terraform

As this works through automation, request you to follow exact syntax.

tf-oci-pub avatar Mar 16 '24 06:03 tf-oci-pub

Got it to connect now, but then getting - Could not find a compartment named in your tenancy - trying without name to get all, wonder why it cannot find compartment as name or OCI string....

oeresundsgruppen avatar Mar 28 '24 18:03 oeresundsgruppen