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.202.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 9619965620146baa4c8f38d956d17b4742970d066dc46502d55e3669c6026732 |
|
MD5 | 0fea26601642c57d68dfabbcd0ecbce8 |
|
BLAKE2b-256 | 85576d1f4350e5609f2cbf083c75d7bbae22e4bca6769e674f99c8b153962d02 |
Close
Hashes for cdktf_surreal_backend-1.0.202-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 6256962d6951d639148651e46e4add35f657e5217e69a2d427ff42c786ef4947 |
|
MD5 | e9af0aa524c31420c9d8e132e1f2dbf8 |
|
BLAKE2b-256 | 5c57d205407e11495e536c5d0937a21a214d9010e93764c3b5d6cef442bf949e |