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.294.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | b314e3e9f57f66e5a499f19037a3af30422cd7a06ddb8d9f39cc3d953ccf6a94 |
|
MD5 | f9886cc5a5f290d02f6d79fb1ffab057 |
|
BLAKE2b-256 | 8f80340d048d16297535e15c145cad0b3a5959d524e8fae39288700666c334fe |
Close
Hashes for cdktf_surreal_backend-1.0.294-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 3797e71c109a9e9ed25ff53cd62b998c9ea45cb644b88de9a505bfeb90895a2f |
|
MD5 | d5419f33194f612a3cf2e9da5edffab8 |
|
BLAKE2b-256 | ebb622f6a9824e59e09f04a1257d620d45abbd60d4719e8031a722347f27e206 |