Skip to main content

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

cdktf-surreal-backend-1.0.326.tar.gz (20.5 kB view details)

Uploaded Source

Built Distribution

cdktf_surreal_backend-1.0.326-py3-none-any.whl (20.0 kB view details)

Uploaded Python 3

File details

Details for the file cdktf-surreal-backend-1.0.326.tar.gz.

File metadata

File hashes

Hashes for cdktf-surreal-backend-1.0.326.tar.gz
Algorithm Hash digest
SHA256 7b4bce64f154a0ac9f11de5c4ce76618ee72528826930f551f6faed31e021ae6
MD5 d0590f83b5746b9aa6e76a3bcfbbf1c9
BLAKE2b-256 354f3388c0edaf1ba7ab1ebfb3056a5e746d6c16504120ed990f0a1bd11ad369

See more details on using hashes here.

File details

Details for the file cdktf_surreal_backend-1.0.326-py3-none-any.whl.

File metadata

File hashes

Hashes for cdktf_surreal_backend-1.0.326-py3-none-any.whl
Algorithm Hash digest
SHA256 fcbd2e37283f94f5384e2cb2ac0df363957338ee187069e8146826755d3716df
MD5 3bb5b558a095aa267d71cb658307a420
BLAKE2b-256 6e678dd6d194c45a7f17d92647843e1608ea90900d4012b8cd3bf00957759f57

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page