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.235.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 3d9b1d33a81232e374ed3faa839d6080bef8f4198999172487794167fe936197 |
|
MD5 | 73ea241b3d0e7387d3b0a3a5c5bf753c |
|
BLAKE2b-256 | 62075b0324e315d932cee80ae5883ef8e5accd49920c7f8d12e00ba07959c687 |
Close
Hashes for cdktf_surreal_backend-1.0.235-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 01fa67acc98073452579ca0d49e4ab92f7da0ee3f1f815adcd2a7653383c45a7 |
|
MD5 | 62294a349558d482a95b1320a8f60245 |
|
BLAKE2b-256 | de4222e91195f8c76c36e9cba5b1f57260677583ce1d4b4394356d4af8acfb9f |