Oracle Cloud Infrastructure

Pulumi Official
Package maintained by Pulumi
v0.1.1 published on Tuesday, May 3, 2022 by Pulumi

The Oracle Cloud Infrastructure (OCI) provider for Pulumi can be used to provision any of the resources available in OCI. The OCI provider must be configured with credentials to deploy and update resources in OCI.

Example

const oci = require("@pulumi/oci")
const testUser = new oci.identity.User("testUser", {
    compartmentId: "<compartmentID>",
    email: "testuser@pulumi.com",
    description: "Test User Created by Pulumi"
});
import * as oci from "@pulumi/oci";
const testUser = new oci.identity.User("testUser", {
    compartmentId: "<compartmentID>",
    email: "testuser@pulumi.com",
    description: "Test User Created by Pulumi"
});
import pulumi_oci as oci
test_user = oci.identity.User("test-user",
                             compartment_id="<compartment_id>",
                             email="testuser@pulumi.com",
                             description="Test User Created by Pulumi")
import (
    "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    oci "github.com/pulumi/pulumi-oci/sdk/go/oci"
)
func main() {
    pulumi.Run(func(ctx *pulumi.Context) error {
        testUser, err := oci.Identity.NewUser(ctx, "test-user", &oci.Identity.UserArgs{
            CompartmentID: pulumi.String("<compartment_id>"),
            Email:         pulumi.String("testuser@pulumi.com"),
            Description:   pulumi.String("Test User Created by Pulumi"),
        })
        if err != nil {
            return err
        }
        return nil
    })
}
using System.Collections.Generic;
using System.Threading.Tasks;
using Pulumi;
using Oci = Pulumi.Oci;
class Program
{
    static Task Main() =>
        Deployment.Run(() => {
            var testUser = new Oci.Identity.User("test-user", new Oci.Identity.UserArgs
            {
                CompartmentId = "<compartment_id>",
                Email = "testuser@pulumi.com",
                Description = "Test User Created by Pulumi",
            });
        });
}