terraform-generator
Version:
Generate Terraform configurations with Node.js.
21 lines (20 loc) • 529 B
TypeScript
import { Argument, Attribute } from '../arguments';
import { TerraformArgs } from '../utils';
import { Block } from '.';
/**
* @category Block
*/
export declare class Provider extends Block {
readonly type: string;
/**
* Construct provider.
*
* 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;
}