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.

Installing

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

Python

To use with Python, install using pip:

python3 -m pip install pulumi_oci

To use uv instead:

uv pip install pulumi_oci

Go

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

go get github.com/pulumi/pulumi-oci/sdk/v3/...

.NET

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

dotnet add package Pulumi.Oci

Configuration

The following configuration options are available for the oci provider:

Option Environment variable Description
oci:auth The type of auth to use. Options are 'ApiKey', 'SecurityToken', 'InstancePrincipal', 'ResourcePrincipal' and 'OKEWorkloadIdentity'. By default, 'ApiKey' will be used.
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:

Reference

For detailed reference documentation, please visit the Pulumi registry.

Project details


Release history Release notifications | RSS feed

This version

4.6.0

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-4.6.0.tar.gz (11.3 MB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

pulumi_oci-4.6.0-py3-none-any.whl (16.1 MB view details)

Uploaded Python 3

File details

Details for the file pulumi_oci-4.6.0.tar.gz.

File metadata

  • Download URL: pulumi_oci-4.6.0.tar.gz
  • Upload date:
  • Size: 11.3 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.11.8

File hashes

Hashes for pulumi_oci-4.6.0.tar.gz
Algorithm Hash digest
SHA256 fadb7d43b461c2cae06b55dadccc41b66701df1e443c252b559f899639893d91
MD5 57be2c7d06a83848ec27db6ab67d2433
BLAKE2b-256 5c612ab0df42cebea1937a881ad01271e967aa26a0c88f909ccf03597f627ba8

See more details on using hashes here.

File details

Details for the file pulumi_oci-4.6.0-py3-none-any.whl.

File metadata

  • Download URL: pulumi_oci-4.6.0-py3-none-any.whl
  • Upload date:
  • Size: 16.1 MB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.11.8

File hashes

Hashes for pulumi_oci-4.6.0-py3-none-any.whl
Algorithm Hash digest
SHA256 afe1d0247cb91957e072618f9fe0803ac653e566fd67d3f990fc445002f71c17
MD5 04deb641a8f982c5fe89b3b61bb788ec
BLAKE2b-256 17643c436e4bd7700f15c500b1e897a07c7313f15a63d964cef88266181905c3

See more details on using hashes here.

Supported by

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