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.123.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 7d58e762531697edc65b1de775ed06e4da8e43ab55797c078fc833f428979fcb |
|
MD5 | 25fd98b2f5faabb7ada295592c196ca5 |
|
BLAKE2b-256 | d0aa574063bfc4e280e906c3d03e8750108fc100e7d4635cd15df3302f1d7f23 |
Close
Hashes for cdktf_surreal_backend-1.0.123-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 3a17bd0e84d685241f996c05f42518a7756f8034409bbdf86d0304cf9894cc8f |
|
MD5 | 65eedee3f7a6d573f4e3c7d6df373fef |
|
BLAKE2b-256 | fb827d1c453520c680932537adca371676d8af5d279e9a611a3e412179505904 |