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.318.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | d0a1d837b97043ce37df0578c47b9228aec8d336612f4f690c9559fc5881f2b4 |
|
MD5 | 4c20b129ef72b2bebec16fa9297dea10 |
|
BLAKE2b-256 | 7c40d8f88eba2d163a9b85e82cbd74e00c00269fc27c3a85c83873d4d895e1f4 |
Close
Hashes for cdktf_surreal_backend-1.0.318-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 83d04db7b14cc60ef6aef56dfb6e602a43689e347e6130ceebf0002c46ac48ba |
|
MD5 | 054b58ab2e19adab42105cdc6ba1c2c7 |
|
BLAKE2b-256 | 2b82aff6d82f6ac638143f7b4385c12a057fe0e6b3956ef72c423e91e3372385 |