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.44.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | f2680ed6b72f5fc8355c81229c53ab48efed791c1512b90ed1747b29ea21295f |
|
MD5 | e4b149c3797e52915fccd1d6ac31fbc8 |
|
BLAKE2b-256 | 5cbc671d3296fcefba39ed2cf7a7fd55e37c3844fae485416e0e29188a1f5e95 |
Close
Hashes for cdktf_surreal_backend-1.0.44-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 7c2ec4435f3f3ca72f2c209878420179dafba2c8b7b08237c59b34bf6c905138 |
|
MD5 | b33eafda779e84ef38c5fa97dfb67bf7 |
|
BLAKE2b-256 | 0b0779b72e4a33684ea76beeaa9bcf9a1083909a7f3a8cd40192ec663df9a63e |