terraform-provider-oci
terraform-provider-oci copied to clipboard
Failed to verify the HTTP(S) Signature
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 ?
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.
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....