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.9.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 5e7027c1bbd77c78475f62d5b99c900891bef2421dfc078ce0f0fd4f1ac26402 |
|
MD5 | 3c6013adb943088b8c23b8640b4d9b0a |
|
BLAKE2b-256 | c061d3146b75add579b1f60166653d4faa1b97907791f0d68ba00c1cc9abff51 |
Close
Hashes for cdktf_surreal_backend-1.0.9-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | d73410dc5e9d1f71637317471c2127ab9e17a2cb116356aebd3d374b9f713c63 |
|
MD5 | 235d9c82727c7357fe58280be40f9764 |
|
BLAKE2b-256 | 853265ff0605ad3ced8119c12939a16657ce34fa7916d70f6fa3b349674c74e6 |