terraform-generator
Version:
Generate Terraform configurations with Node.js.
30 lines (29 loc) • 679 B
JavaScript
;
Object.defineProperty(exports, "__esModule", { value: true });
exports.Output = void 0;
const utils_1 = require("../utils");
const _1 = require(".");
/**
* @category Block
*/
class Output extends _1.Block {
/**
* Construct output.
*
* Refer to Terraform documentation on what can be put as arguments.
*
* @param name name
* @param args arguments
*/
constructor(name, args) {
super('output', [name], args);
this.name = name;
}
asArgument() {
throw utils_1.Util.inaccessibleMethod();
}
attr(_name) {
throw utils_1.Util.inaccessibleMethod();
}
}
exports.Output = Output;