rough-morning-53309
02/09/2023, 4:59 PMenough-garden-22763
02/09/2023, 5:17 PMenough-garden-22763
02/09/2023, 5:18 PMbig-architect-71258
02/09/2023, 5:27 PMbig-architect-71258
02/09/2023, 6:14 PMtfgen
via make tfgen
, compilation fails with following error:
(cd provider && go build -o /tmp/pulumi-tls/bin/pulumi-tfgen-tls -ldflags "-X <http://github.com/pulumiverse/pulumi-tls/provider/pkg/version.Version=0.0.1-alpha.1675966033+870bfb04.dirty|github.com/pulumiverse/pulumi-tls/provider/pkg/version.Version=0.0.1-alpha.1675966033+870bfb04.dirty>" <http://github.com/pulumiverse/pulumi-tls/provider/cmd/pulumi-tfgen-tls)|github.com/pulumiverse/pulumi-tls/provider/cmd/pulumi-tfgen-tls)>
# <http://github.com/pulumi/pulumi-terraform-bridge/pf/tfbridge|github.com/pulumi/pulumi-terraform-bridge/pf/tfbridge>
/home/user/go/pkg/mod/github.com/pulumi/pulumi-terraform-bridge/pf@v0.1.0/tfbridge/naming.go:33:44: undefined: tfgen.Renames
/home/user/go/pkg/mod/github.com/pulumi/pulumi-terraform-bridge/pf@v0.1.0/tfbridge/provider.go:86:20: undefined: tfgen.Renames
Makefile:27: recipe for target 'tfgen' failed
Do I reference a wrong version of pulumi-terraform-bridge/pf
?
I didn't experience this error when I manually wrapped the MSSQL provider.enough-garden-22763
02/09/2023, 6:17 PMenough-garden-22763
02/10/2023, 2:52 PMenough-garden-22763
02/10/2023, 5:08 PMenough-garden-22763
02/10/2023, 5:11 PMenough-garden-22763
02/10/2023, 5:14 PMenough-garden-22763
02/10/2023, 8:42 PMenough-garden-22763
02/14/2023, 5:38 AMnarrow-match-14013
02/14/2023, 6:25 PMpulumi.interpolate
pulumi throws an error:
error: Preview failed: objectEncoder failed on property "url": Expected a string, got: {&{{<http://vm-4liajfa3.staging.azure.tetrate.com/}}}>
If i wrap the whole thing in an apply it works though. For example:
pulumi.output(args.endpoint).apply(
(endpoint) =>
new checkmate.HttpHealth(
`${this.pulumiName}-check-endpoint`,
{
timeout: 1000 * 60 * 10, // 10 min, to allow for DNS to propagate (2 x TTL)
interval: 1000 * 2, // 2s
consecutiveSuccesses: 100,
url: endpoint,
},
{ dependsOn: this.resources },
).id,
)
Any ideas?enough-garden-22763
02/14/2023, 8:09 PMenough-garden-22763
02/16/2023, 12:14 AMenough-garden-22763
02/17/2023, 11:41 PMenough-garden-22763
02/17/2023, 11:42 PMenough-garden-22763
02/28/2023, 4:14 PMbig-architect-71258
03/07/2023, 11:40 AMenough-garden-22763
03/07/2023, 8:53 PMenough-garden-22763
03/10/2023, 7:11 PMnarrow-match-14013
03/10/2023, 7:34 PMnarrow-match-14013
03/14/2023, 3:07 PMwarning: resource plugin checkmate is expected to have version >=0.1.5, but has 0.0.1; the wrong version may be on your path, or this may be a bug in the plugin
and i'm not sure where pulumi is getting that version number. my bridge project has version 0.1.5 and i dont see 0.0.1 anywhere in the code.
everything works fine, just wondering why pulumi thinks the versions dont matchnarrow-match-14013
03/14/2023, 3:10 PM% pulumi plugin ls | grep checkmate
checkmate resource 0.1.5 58 MB 38 minutes ago 35 minutes ago
prehistoric-kite-30979
03/23/2023, 2:42 AMenough-garden-22763
03/27/2023, 10:25 PMenough-garden-22763
03/27/2023, 10:25 PMbig-architect-71258
03/28/2023, 7:41 AMenough-garden-22763
03/29/2023, 2:59 PMenough-garden-22763
03/29/2023, 2:59 PMbig-architect-71258
03/29/2023, 8:07 PMenough-garden-22763
03/29/2023, 9:23 PM