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
File details
Details for the file cdktf-surreal-backend-1.0.326.tar.gz
.
File metadata
- Download URL: cdktf-surreal-backend-1.0.326.tar.gz
- Upload date:
- Size: 20.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.12.1
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 7b4bce64f154a0ac9f11de5c4ce76618ee72528826930f551f6faed31e021ae6 |
|
MD5 | d0590f83b5746b9aa6e76a3bcfbbf1c9 |
|
BLAKE2b-256 | 354f3388c0edaf1ba7ab1ebfb3056a5e746d6c16504120ed990f0a1bd11ad369 |
File details
Details for the file cdktf_surreal_backend-1.0.326-py3-none-any.whl
.
File metadata
- Download URL: cdktf_surreal_backend-1.0.326-py3-none-any.whl
- Upload date:
- Size: 20.0 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.12.1
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | fcbd2e37283f94f5384e2cb2ac0df363957338ee187069e8146826755d3716df |
|
MD5 | 3bb5b558a095aa267d71cb658307a420 |
|
BLAKE2b-256 | 6e678dd6d194c45a7f17d92647843e1608ea90900d4012b8cd3bf00957759f57 |