Skip to content

Use OCI_ prefixed environment variables (like OCI_CLI_, not TF_VAR_) #318

@MPV

Description

@MPV

I'm referring to this implementation:

environmentProvider := environmentConfigurationProvider{EnvironmentVariablePrefix: "TF_VAR"}

And comparing with the naming convention of the environment variables of oci-cli:
https://docs.oracle.com/en-us/iaas/Content/API/SDKDocs/clienvironmentvariables.htm#CLI_Environment_Variables

...and how other Terraform providers are able to pick up "usual" CLI environment variables:
https://registry.terraform.io/providers/hashicorp/aws/latest/docs#environment-variables
https://registry.terraform.io/providers/hashicorp/google/latest/docs/guides/provider_reference#full-reference

Metadata

Metadata

Assignees

No one assigned

    Labels

    SDKIssue pertains to the SDK itself and not specific to any service

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions