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.129.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | e2b81d4825e30b149c52468cf0839cf40621ac515a5309c69636045a8c43fa14 |
|
MD5 | 6875499ee2df29bb9d7e5742cb3af6d0 |
|
BLAKE2b-256 | 6aced2879c67a87b3077e90d4354a3792c8d360b44d4944ee8a0738f77d3d0d4 |
Close
Hashes for cdktf_surreal_backend-1.0.129-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | b513ea1ff235de6792b2b4615ae5ab0897c5678a1801ef4d2060615e76e23107 |
|
MD5 | e603fde00c4d94ba6d6b606709521c3e |
|
BLAKE2b-256 | bc01d3616ee729451d87b8af8d7408e655048a6dbcf3fc040c3f627f01a1d5b9 |