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.156.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 7129b96a81e98c7e00a71ddbe758aa775cf683d0ab26f7dbf32912f0948d0202 |
|
MD5 | 7af0c34dce9ba29d361d8b31ef9884f1 |
|
BLAKE2b-256 | 31cee36d26a95459bd7d0c5dc4a63db3feb2b43929e7b924c963592ffe88c375 |
Close
Hashes for cdktf_surreal_backend-1.0.156-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | eb5179905969dc11e222e2a9255b2346c106c847da6ac6a4cb0551c5e088aa41 |
|
MD5 | 85ebf09bbadd618aae53a1170bf6d495 |
|
BLAKE2b-256 | d984cfb2974d4ef633630309973caac09a1b67822b52bcd1c62c6ce09346e403 |