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.72.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 9b9b2d417e409d80e9186521e9c265260d97e9c2394e5b2d1a09e0fce734bb51 |
|
MD5 | a22052c954d9bca3e928637de76beca2 |
|
BLAKE2b-256 | 9485c7f2da37b498ce7aeb4f2ee86b5b4e9bc6f3a8de61441624919866ae2fe7 |
Close
Hashes for cdktf_surreal_backend-1.0.72-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 27f681abeaced560482cb6888a89e0c8f2bbd1393774e657b53d81de4fd76a7e |
|
MD5 | 43932400f103f57b0aa22cc344bc97c4 |
|
BLAKE2b-256 | c0469a5558655048fd89c545c41050a558f80b29d66b71fa89c7cca2578133ac |