Skip to main content

A Pulumi package for creating and managing Oracle Cloud Infrastructure resources.

Project description

Oracle Cloud Infrastructure Resource Provider

The Oracle Cloud Infrastructure (OCI) Resource Provider lets you manage OCI resources.


This package is available for several languages/platforms:

Node.js (JavaScript/TypeScript)

To use with JavaScript or TypeScript in Node.js, install using either npm:

npm install @pulumi/oci

or yarn:

yarn add @pulumi/oci


To use with Python, install using pip:

python3 -m pip install pulumi_oci


To use with Go, use go get to grab the latest version of the library:

go get


To use with .NET, install using dotnet add package:

dotnet add package Pulumi.Oci


The following configuration options are available for the oci provider:

Option Environment variable Description
oci:tenancyOcid TF_VAR_tenancy_ocid OCID of your tenancy.
oci:userOcid TF_VAR_user_ocid OCID of the user calling the API.
oci:privateKey TF_VAR_private_key The contents of the private key file. Required if privateKeyPath is not defined and takes precedence if both are defined.
oci:privateKeyPath TF_VAR_private_key_path The path (including filename) of the private key stored on your computer. Required if privateKey is not defined.
oci:privateKeyPassword TF_VAR_private_key_password Passphrase used for the key, if it is encrypted.
oci:fingerprint TF_VAR_fingerprint Fingerprint for the key pair being used.
oci:region TF_VAR_region An OCI region.
oci:configFileProfile TF_VAR_config_file_profile The custom profile to use instead of the DEFAULT profile in .oci/config.

Use the Required Keys and OCIDs chapter of the OCI Developer Guide to learn:


For detailed reference documentation, please visit the Pulumi registry.

Project details

Release history Release notifications | RSS feed

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

pulumi_oci-1.37.0.tar.gz (7.5 MB view hashes)

Uploaded Source

Built Distribution

pulumi_oci-1.37.0-py3-none-any.whl (10.9 MB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page