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.199.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 3855a2d3e64fed396ba634a11e0edfa503f9b8c5107662c9283e969b08e6cbda |
|
MD5 | 29f507d3df50ad6dbda6d611df138958 |
|
BLAKE2b-256 | c863c533ea59d0cd958f4ad063b0dd491bad2f8c095c9915d76a01fd9a5fbdbb |
Close
Hashes for cdktf_surreal_backend-1.0.199-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | a6e3de11aa9e8042710d6d8ee37b63268bfbe0367eae1e0327995cbfb7601af9 |
|
MD5 | e95e4eade2809cd10894e9fdfe167e37 |
|
BLAKE2b-256 | 5480d81e657aa114dcc2a774c6f6c0a7a0dbc2142e87f27c2cfae7bfeff88a28 |