UNPKG

terrac

Version:

A minimal private module registry for Terraform and OpenTofu

13 lines (12 loc) 530 B
import * as Joi from 'joi'; import { IBackend } from './shared'; import { IBackendConfigS3 } from './s3'; import { IBackendConfigLocal } from './local'; import { IBackendConfigGCP } from './gcp'; import { IBackendConfigAzure } from './azure'; export declare const configSchema: Joi.AlternativesSchema<any>; export type IBackendConfig = IBackendConfigS3 | IBackendConfigLocal | IBackendConfigGCP | IBackendConfigAzure; export declare class BackendFactory { constructor(); static create(config: IBackendConfig): IBackend; }