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.250.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | af145f51db12e3bb94cfd400354e0d53092fed0eb5d3ef31f80f7b845e8bd334 |
|
MD5 | 9684c51d84e9310d68b401911a86cd29 |
|
BLAKE2b-256 | 644deb545a6748624dba1d692a660537a3403b20a48fdee1c9ec2cce55b1a7b6 |
Close
Hashes for cdktf_surreal_backend-1.0.250-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | eb02ca3716185a8ffbc2999baaacde10a5f921be361dae206077853f1f5b53ce |
|
MD5 | 6ef7c17aadf2f126805b931f9aab72c1 |
|
BLAKE2b-256 | 4710890380c3a486f8c6f475a7388c927e74c664f22924eda126ec5ea0e82e6a |