plain-quill-22197
07/05/2021, 4:39 PMbored-monitor-99026
07/09/2021, 7:16 AMType Name Plan Info
+ pulumi:pulumi:Stack simple-test create 1 error
Diagnostics:
pulumi:pulumi:Stack (simple-test):
error: Running program '/home/tingkai/pulumi/pulumi-oneandone/examples/simple' failed with an unhandled exception:
TSError: ⨯ Unable to compile TypeScript:
../../sdk/nodejs/index.ts(4,25): error TS2307: Cannot find module '@pulumi/pulumi'.
at createTSError (/home/tingkai/pulumi/pulumi-oneandone/examples/simple/node_modules/ts-node/src/index.ts:261:12)
at getOutput (/home/tingkai/pulumi/pulumi-oneandone/examples/simple/node_modules/ts-node/src/index.ts:367:40)
at Object.compile (/home/tingkai/pulumi/pulumi-oneandone/examples/simple/node_modules/ts-node/src/index.ts:558:11)
at Module.m._compile (/home/tingkai/pulumi/pulumi-oneandone/examples/simple/node_modules/ts-node/src/index.ts:439:43)
at Module._extensions..js (node:internal/modules/cjs/loader:1137:10)
at Object.require.extensions.<computed> [as .ts] (/home/tingkai/pulumi/pulumi-oneandone/examples/simple/node_modules/ts-node/src/index.ts:442:12)
at Module.load (node:internal/modules/cjs/loader:988:32)
at Function.Module._load (node:internal/modules/cjs/loader:828:14)
at Module.require (node:internal/modules/cjs/loader:1012:19)
at require (node:internal/modules/cjs/helpers:93:18)
how could i fix this?bored-monitor-99026
07/09/2021, 10:05 PMpulumi/pulumi-tf-provider-boilerplate
when make build_sdks
, i have the following error:
$ make build_sdks
[ -x /home/tingkai/.pulumi/bin/pulumi ] || curl -fsSL <https://get.pulumi.com> | sh
pulumi plugin install resource random 2.2.0
(cd provider && go build -a -o /home/tingkai/torchai/infra/pulumi-oneandone/tmp/pulumi-oneandone/bin/pulumi-tfgen-oneandone -ldflags "-X <http://github.com/tz-torchai/pulumi-oneandone/provider/pkg/version.Version=0.0.1-alpha.1623235147+2e15515f.dirty|github.com/tz-torchai/pulumi-oneandone/provider/pkg/version.Version=0.0.1-alpha.1623235147+2e15515f.dirty>" <http://github.com/tz-torchai/pulumi-oneandone/provider/cmd/pulumi-tfgen-oneandone)|github.com/tz-torchai/pulumi-oneandone/provider/cmd/pulumi-tfgen-oneandone)>
# <http://github.com/tz-torchai/pulumi-oneandone/provider|github.com/tz-torchai/pulumi-oneandone/provider>
./resources.go:94:46: impossible type assertion:
*"<http://github.com/hashicorp/terraform-plugin-sdk/helper/schema|github.com/hashicorp/terraform-plugin-sdk/helper/schema>".Provider does not implement "<http://github.com/hashicorp/terraform/terraform|github.com/hashicorp/terraform/terraform>".ResourceProvider (wrong type for Apply method)
have Apply(*"<http://github.com/hashicorp/terraform-plugin-sdk/terraform|github.com/hashicorp/terraform-plugin-sdk/terraform>".InstanceInfo, *"<http://github.com/hashicorp/terraform-plugin-sdk/terraform|github.com/hashicorp/terraform-plugin-sdk/terraform>".InstanceState, *"<http://github.com/hashicorp/terraform-plugin-sdk/terraform|github.com/hashicorp/terraform-plugin-sdk/terraform>".InstanceDiff) (*"<http://github.com/hashicorp/terraform-plugin-sdk/terraform|github.com/hashicorp/terraform-plugin-sdk/terraform>".InstanceState, error)
want Apply(*"<http://github.com/hashicorp/terraform/terraform|github.com/hashicorp/terraform/terraform>".InstanceInfo, *"<http://github.com/hashicorp/terraform/terraform|github.com/hashicorp/terraform/terraform>".InstanceState, *"<http://github.com/hashicorp/terraform/terraform|github.com/hashicorp/terraform/terraform>".InstanceDiff) (*"<http://github.com/hashicorp/terraform/terraform|github.com/hashicorp/terraform/terraform>".InstanceState, error)
make: *** [Makefile:50: tfgen] Error 2
how could i fix this error? thanks!clever-byte-21551
07/14/2021, 11:21 AMquiet-motorcycle-76742
07/14/2021, 2:55 PMbright-orange-69401
07/22/2021, 6:35 PMWith Pulumi Packages, Resources and Components can be written once, in your preferred language, and made available in all the other languages supported by Pulumi.Is there any documentation or examples of Pulumi Native Provider Packages being written in something other than Go ? There’s this repo template: https://github.com/pulumi/pulumi-provider-boilerplate But it’s not very clear to me which parts of this are Go-specific and which aren’t. The
schema.json
is definitely a central piece, but how do you link what you declare in the schema to your code ?
Is it even possible to build a Native Package in e.g. Python with Pulumi right now ?modern-tent-22917
07/29/2021, 9:34 AMctyToGo
function in pulumi-terraform-bridge. Is there any special reason that we leave sets as-is here? What about merging this case to val.Type().IsListType()
in line 32?
https://github.com/pulumi/pulumi-terraform-bridge/blob/30ae8ae5cc2d2f5987854984243c74ace4ccc952/pkg/tfshim/tfplugin5/cty.go#L48modern-tent-22917
07/29/2021, 9:35 AMworried-queen-62794
08/07/2021, 5:51 AMmake ensure
says:
gitpod /workspace/pulumi $ make
/bin/bash: pulumictl: command not found
bored-oyster-3147
08/19/2021, 2:55 PM--exact
and --server
when doing pulumi plugin install
from the .NET Automation APIstocky-state-77654
08/20/2021, 7:30 AMmake ensure
runs just fine but make
takes a long time and then errors out. I’ll follow up with a screenshot. Any obvious step I missed in getting started with local development?stocky-state-77654
08/20/2021, 7:35 AMbroad-dog-22463
08/20/2021, 10:32 AMbroad-dog-22463
08/20/2021, 10:32 AMstocky-state-77654
08/20/2021, 11:42 AMbroad-dog-22463
08/20/2021, 12:13 PMstocky-state-77654
08/20/2021, 5:35 PMstocky-state-77654
08/20/2021, 5:35 PMbroad-dog-22463
08/20/2021, 5:53 PMbroad-dog-22463
08/20/2021, 5:53 PMbroad-dog-22463
08/20/2021, 5:54 PMstocky-state-77654
08/20/2021, 5:54 PMstocky-state-77654
08/20/2021, 5:59 PMstocky-state-77654
08/25/2021, 4:00 PMpulumi completion
, but my local dev version does. Wondering how you pull this off (not just hiding the command but actually making it unavailable to end user)limited-rainbow-51650
08/25/2021, 7:28 PMpulumi-tf-provider-boilerplate
. I struggle to find what I have to put in resources.go
. Would you have time for a call to get me going? FYI, I’m trying to make a Pulumi provider out of https://github.com/terraform-provider-concourse/terraform-provider-concoursestocky-state-77654
08/25/2021, 9:00 PMbored-activity-40468
09/01/2021, 2:21 PMlively-crowd-44886
09/27/2021, 2:25 AMprehistoric-kite-30979
09/29/2021, 5:10 PMfierce-ability-58936
10/01/2021, 1:44 AMfierce-ability-58936
10/01/2021, 1:44 AM