@biffo/cli 0.391.0 → 0.393.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.js +2 -2
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -3604,7 +3604,7 @@ import {
|
|
|
3604
3604
|
} from "fs";
|
|
3605
3605
|
import { join as join13, relative as relative2, sep as sep2 } from "path";
|
|
3606
3606
|
var TEMPLATE_MODULE_DIR = "_template";
|
|
3607
|
-
var
|
|
3607
|
+
var defaultPluginHandler = (name) => `${name}.main.handler`;
|
|
3608
3608
|
var GENERATED_TF_FILE = "plugins.generated.tf";
|
|
3609
3609
|
var GENERATED_TFVARS_FILE = "plugins.auto.tfvars.json";
|
|
3610
3610
|
function standardArguments(pluginName, handler) {
|
|
@@ -3907,7 +3907,7 @@ function renderGeneratedTerraform(plugins) {
|
|
|
3907
3907
|
(p) => renderModuleBlock(
|
|
3908
3908
|
p.name,
|
|
3909
3909
|
p.declaredVariables,
|
|
3910
|
-
p.handler ??
|
|
3910
|
+
p.handler ?? defaultPluginHandler(p.name),
|
|
3911
3911
|
p.source ?? THIRD_PARTY_TERRAFORM(p.name),
|
|
3912
3912
|
p.declaredOutputs ?? /* @__PURE__ */ new Set()
|
|
3913
3913
|
)
|