terraform-generator
Version:
Generate Terraform configurations with Node.js.
21 lines (20 loc) • 527 B
TypeScript
import { Argument, Attribute } from '../arguments';
import { TerraformArgs } from '../utils';
import { Block } from '.';
/**
* @category Block
*/
export declare class Backend extends Block {
readonly type: string;
/**
* Construct backend.
*
* Refer to Terraform documentation on what can be put as type & arguments.
*
* @param type type
* @param args arguments
*/
constructor(type: string, args: TerraformArgs);
asArgument(): Argument;
attr(_name: string): Attribute;
}