We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Is this design on purpose? If not, a potential untested fix:
diff --git a/src/oci_cli/cli_util.py b/src/oci_cli/cli_util.py index 1356358b..87f6f8c1 100644 --- a/src/oci_cli/cli_util.py +++ b/src/oci_cli/cli_util.py @@ -466,6 +466,10 @@ def set_request_session_properties_from_context(session, ctx, uses_ssl=True): def build_raw_requests_session(ctx): + + if 'OCI_CLI_USE_INSTANCE_METADATA_SERVICE' in os.environ: + oci.regions.enable_instance_metadata_service() + config_and_signer = create_config_and_signer_based_on_click_context(ctx) signer = config_and_signer.signer client_config = config_and_signer.config
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Is this design on purpose? If not, a potential untested fix:
The text was updated successfully, but these errors were encountered: