Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Docs: update OCI environment variables #638

Open
semiautomatix opened this issue Jul 12, 2022 · 2 comments
Open

Docs: update OCI environment variables #638

semiautomatix opened this issue Jul 12, 2022 · 2 comments
Labels
kind/bug Some behavior is incorrect or out of spec

Comments

@semiautomatix
Copy link

semiautomatix commented Jul 12, 2022

What happened?

Documentation for the The Oracle Cloud Infrastructure Configuring Credentials is incorrect.

TF_VAR_private_key_file should be updated to TF_VAR_private_key_path

Under environment variables it should read:

export TF_VAR_tenancy_ocid="ocid1.tenancy.oc1..<unique_ID>"
export TF_VAR_user_ocid="ocid1.user.oc1..<unique_ID>"
export TF_VAR_fingerprint="<key_fingerprint>"
export TF_VAR_region="us-ashburn-1"
export TF_VAR_private_key_path="/path/to/oci_api_key.pem"

Steps to reproduce

https://github.com/pulumi/registry/blob/283f5195c90de50e524266cc1de8b39d93a0a2a8/themes/default/content/registry/packages/oci/installation-configuration.md#configuring-credentials

Expected Behavior

pulumi up should work if using the above instructions

Actual Behavior

pulumi up reports the following error, if using the above instructions

    error: 1 error occurred:
        * can not create client, bad configuration: did not find a proper configuration for private key

Versions used

No response

Additional context

No response

Contributing

Vote on this issue by adding a 👍 reaction.
To contribute a fix for this issue, leave a comment (and link to your pull request, if you've opened one already).

@semiautomatix semiautomatix added kind/bug Some behavior is incorrect or out of spec needs-triage Needs attention from the triage team labels Jul 12, 2022
@susanev susanev removed the needs-triage Needs attention from the triage team label Jul 12, 2022
@susanev
Copy link

susanev commented Jul 12, 2022

thx for the report @semiautomatix! we sould gladly accept your pr to fix this if ya have the time.

@semiautomatix
Copy link
Author

thx for the report @semiautomatix! we sould gladly accept your pr to fix this if ya have the time.

Sure thing, I wasn't sure if you were keen on community submissions.

@iwahbe iwahbe transferred this issue from pulumi/registry Nov 12, 2024
@pulumi-bot pulumi-bot added the needs-triage Needs attention from the triage team label Nov 12, 2024
@VenelinMartinov VenelinMartinov removed the needs-triage Needs attention from the triage team label Nov 12, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
kind/bug Some behavior is incorrect or out of spec
Projects
None yet
Development

No branches or pull requests

4 participants