Prebuilt oci Provider for Terraform CDK (cdktf)
Project description
CDKTF prebuilt bindings for oracle/oci provider version 7.19.0
This repo builds and publishes the Terraform oci provider bindings for CDK for Terraform.
Available Packages
npm
Published from this repository at https://www.npmjs.com/package/cdktf-provider-oci (owner: sureshveeragoni).
npm install cdktf-provider-oci
PyPI
Published at https://pypi.org/project/cdktf-provider-oci (owner: sureshveeragoni).
pip install cdktf-provider-oci
Usage
TypeScript
import { App, TerraformStack } from 'cdktf';
import { Construct } from 'constructs';
import { OciProvider } from 'cdktf-provider-oci/lib/provider';
import { CoreInstance } from 'cdktf-provider-oci/lib/core-instance';
class MyStack extends TerraformStack {
constructor(scope: Construct, id: string) {
super(scope, id);
new OciProvider(this, 'oci', {
region: 'us-ashburn-1',
});
new CoreInstance(this, 'example', {
compartmentId: 'ocid1.compartment.oc1..exampleuniqueID',
availabilityDomain: 'kIdk:US-ASHBURN-AD-1',
shape: 'VM.Standard.E4.Flex',
sourceDetails: {
sourceType: 'image',
imageId: 'ocid1.image.oc1..exampleuniqueID',
},
createVnicDetails: {
subnetId: 'ocid1.subnet.oc1..exampleuniqueID',
},
});
}
}
const app = new App();
new MyStack(app, 'oci-example');
app.synth();
Install dependencies with npm install cdktf cdktf-provider-oci constructs before synthesizing.
Python
from constructs import Construct
from cdktf import App, TerraformStack
from cdktf_provider_oci.provider import OciProvider
from cdktf_provider_oci.core_instance import CoreInstance
class MyStack(TerraformStack):
def __init__(self, scope: Construct, construct_id: str) -> None:
super().__init__(scope, construct_id)
OciProvider(self, "oci", region="us-ashburn-1")
CoreInstance(self, "example",
compartment_id="ocid1.compartment.oc1..exampleuniqueID",
availability_domain="kIdk:US-ASHBURN-AD-1",
shape="VM.Standard.E4.Flex",
source_details={
"source_type": "image",
"image_id": "ocid1.image.oc1..exampleuniqueID",
},
create_vnic_details={
"subnet_id": "ocid1.subnet.oc1..exampleuniqueID",
},
)
app = App()
MyStack(app, "oci-example")
app.synth()
Install dependencies with pip install cdktf cdktf-provider-oci constructs before synthesizing.
Docs
Find auto-generated docs for this provider here:
You can also visit a hosted version of the documentation on constructs.dev.
Versioning
This project is explicitly not tracking the Terraform oci provider version 1:1. In fact, it always tracks latest of ~> 7.19.0 with every release. If there are scenarios where you explicitly have to pin your provider version, you can do so by generating the provider constructs manually.
These are the upstream dependencies:
If there are breaking changes (backward incompatible) in any of the above, the major version of this project will be bumped.
Features / Issues / Bugs
Please report bugs and issues to the CDK for Terraform project:
Contributing
Projen
This is mostly based on Projen, which takes care of generating the entire repository.
cdktf-provider-project based on Projen
There's a custom project builder which encapsulate the common settings for all cdktf prebuilt providers.
Provider Version
The provider version can be adjusted in ./.projenrc.js.
Repository Management
The repository is managed by CDKTF Repository Manager.
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
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file cdktf_provider_oci-1.1.0.tar.gz.
File metadata
- Download URL: cdktf_provider_oci-1.1.0.tar.gz
- Upload date:
- Size: 79.7 MB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
2b718a2b0f0cfb6015e8dcd20953b9a270edb8da1e6b83439fea2d3968414989
|
|
| MD5 |
fbd1da602824af7cb3595019beff209f
|
|
| BLAKE2b-256 |
ddad262f7f275e777ea766e28364dc3722cfafc773a020b2f4bf19d83fd977a7
|
File details
Details for the file cdktf_provider_oci-1.1.0-py3-none-any.whl.
File metadata
- Download URL: cdktf_provider_oci-1.1.0-py3-none-any.whl
- Upload date:
- Size: 80.0 MB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
ef4b8a429601ba991dc6426211d154de6b649bac346553f32e4c6149d8335a5a
|
|
| MD5 |
941d763e098088711105ee961b6b1307
|
|
| BLAKE2b-256 |
200cee673f5d584d5a743dfbec2759dfee131ac062a24913c63edb1fa31ec0f0
|