Skip to content

support the same environment variables as the CLI #495

@tkellen

Description

@tkellen

When consuming this SDK via terraform, it is not possible to use the environment variables documented in the CLI here:
https://docs.oracle.com/en-us/iaas/Content/API/SDKDocs/clienvironmentvariables.htm

I would expect a terraform configuration as follows:

provider "oci" {
  region = "us-chicago-1"
}

...to function with the profile in ~/.oci/config if I ran OCI_CLI_PROFILE=myprofile terraform apply. It appears the env vars for the CLI are specific to the python implementation?

This is very confusing.

/ref #494

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions