A Pulumi package for creating and managing DataRobot resources.
Project description
DataRobot Resource Provider
The DataRobot Resource Provider lets you manage DataRobot resources. The provider is built on terraform-provider-datarobot. To use this package, please install the Pulumi CLI first.
Installing
This package is available for several languages/platforms:
- Python:
pulumi-datarobot
- JavaScript/TypeScript:
@datarobot/pulumi-datarobot
- Go:
github.com/datarobot-community/pulumi-datarobot/sdk
- .NET:
DataRobotPulumi.Datarobot
Python
To use from Python, install using pip
:
pip install pulumi_datarobot
Javscript/Typescript
To use from JavaScript or TypeScript in Node.js, install using either npm
:
npm install @datarobot/pulumi-datarobot
or yarn
:
yarn add @datarobot/pulumi-datarobot
Go
go get github.com/datarobot-community/pulumi-datarobot/sdk/go/...
.NET
To use from .NET, install using dotnet add package
:
dotnet add package DataRobotPulumi.Datarobot
YAML
No install necessary, just run pulumi up
.
Configuration
The following configuration points are available for the DataRobot provider:
datarobot:apikey
(environment:DATAROBOT_API_TOKEN
) - the API key for DataRobotdatarobot:endpoint
(environment:DATAROBOT_ENDPOINT
) - the endpoint for DataRobot
Examples
Air-Gapped Environments
Keep the following items in mind if running in an air-gapped environment:
-
Run
pulumi login --local
to store state files on your local filesystem, instead of the default Pulumi Cloud. Pulumi binaries are available here. -
Set
DATAROBOT_ENDPOINT
: https://{datarobot.example.com}/api/v2 (replacing {datarobot.example.com} with your specific deployment endpoint) -
For Python, the pulumi and pulumi-datarobot packages must be installed in the air-gapped system.
Example using
pip wheel
:- create a directory where you want to store package wheels.
mkdir folder_containing_wheel
- Now install wheels of the python library you want to install
pip wheel pulumi-datarobot -w folder_containing_wheel
This will store all your required dependent wheels of the
pulumi-datarobot
package in the folder. you can check it with doing ls -ltr`.- Now, you can make a tar file of this folder.
tar cf folder_containing_wheel.tar folder_containing_wheel/
and you can transfer it to your air-gapped system.
Now untar the folder.
tar xf folder_containing_wheel.tar cd folder_containing_wheel/
now install wheels from the folder.
pip install * -f ./ --no-index
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
File details
Details for the file pulumi_datarobot-0.3.3.tar.gz
.
File metadata
- Download URL: pulumi_datarobot-0.3.3.tar.gz
- Upload date:
- Size: 55.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.12.7
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 15bebf67f784d3affeef92abe34a8bf39ed0a9f2531ac55a04dbf4e34894d0c1 |
|
MD5 | 7f0b500b420132612ad25a9f0448544f |
|
BLAKE2b-256 | 6e9154b9aabb868a4376f6ea96e27975e163ad39d08bc1f9b151046af3b81434 |