A package that vends a construct to setup the surreal backend in CDKTF
Project description
cdktf-surreal-backend
This is library to create a CDKTF construct for terraform-backend-surreal. This library vends a single construct, SurrealBackend
, which extends the default HttpBackend
construct to make instantiation of this easier.
Usage
Example
import { TerraformStack } from "cdktf";
import { SurrealBackend } from '@awlsring/cdktf-surreal-backend';
export class MyStack extends TerraformStack {
constructor(scope: Construct, name: string, props: MyStackProps) {
super(scope, name);
const backend = new SurrealBackend(this, 'Backend', {
address: 'https://localhost:8032',
project: "homelab",
stack: "infra",
username: "terraform",
password: "alligator3",
});
... // other stuff
}
}
Construct Properties:
- address: The address your backend sever is reachable at.
- project: The project name to use for this stack.
- stack: The stack name to use for this stack. stacks names must be unique across a project.
- username: The username to use for authentication, configured in the server's config.yaml file
- password: The password to use for authentication, configured in the server's config.yaml file
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
Close
Hashes for cdktf-surreal-backend-1.0.155.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 968eae119a89d4109f4600a0d1a8992ffaaba9c2705a8f2d9a613e6ca5ec074a |
|
MD5 | 3ac695bdaf4785f52af7f2c0b7f2f885 |
|
BLAKE2b-256 | 6db4eaad33a613daf1e0956c6bbdf0f02c62dfbfe325a4747abd9e0809dd5aaf |
Close
Hashes for cdktf_surreal_backend-1.0.155-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 08c60fb5518e465bbd5605752ff01cc1ec19e827d5b97830821016a400bb93e0 |
|
MD5 | 2c3e6a908405be0fca1fd76faa5d0d26 |
|
BLAKE2b-256 | 3dba29adb749634f4c23d86c8098bc5068c3487379dbab416041030c4b52eab7 |