famous-ambulance-44173
06/12/2025, 5:40 PM-> % pulumi package add <https://github.com/dmfigol/pulumi-aws-vpc-typescript>
Downloading provider: github.com_dmfigol_pulumi-aws-vpc-typescript.git
Added package "pulumi-aws-vpc-ts" to Pulumi.yaml
error: Detected that /home/dmfigol/.pulumi/plugins/resource-github.com_dmfigol_pulumi-aws-vpc-typescript.git-v0.0.0-x026726ba8803765d31f11953b7efb095be00747b/pulumi-resource-github.com_dmfigol_pulumi-aws-vpc-typescript.git exited prematurely.
This is *always* a bug in the provider. Please report the issue to the provider author as appropriate.
To assist with debugging we have dumped the STDOUT and STDERR streams of the plugin:
2. sometimes/often when I change my typescript code, my stack is not picking up those changes and I get error like this:
Diagnostics:
pulumi:pulumi:Stack (pulumi-aws-vpc-ts-dev):
Error: pulumi-aws-vpc-ts:index:VPC is not assignable from {vpcCidr: string}
Cannot assign '{vpcCidr: string}' to 'pulumi-aws-vpc-ts:index:VPC':
vpcCidrr: Missing required property 'vpcCidrr'
Existing properties are: vpcCidrr
even though both pulumi.yaml and interface have correct attributes. it starts to work after I rerun emitting of js files from ts, but I haven't been able to fully understand what causes this problem exactly. seems like some cached value of schema? but where and how to fix it? UPD: I was able to fix it by deleting sdks/ folder completely. but is it really supposed to be this way?
3. what is the value of specifying pulumi.input in the interface? it seems everything works without it, e.g.:
export interface VpcArgs {
tags?: { [key: string]: string }; // versus
tags?: { [key: string]: pulumi.Input<string> };
}
4. are there more references in how to type complex attributes, e.g. optional maps, optional nested objects, etc.? this doc page references a single string as input and it is not very helpfulable-dusk-25606
06/16/2025, 8:21 PMpulumi.Input
, you'll break when users pass an Output of another resource in? It will however work when you pass it known values from your application. You probably want the component from all languages, and joining pulumi dependency graphs, so that means Input.
At least in Python, I found setting up some yaml test programs to be quite helpful, because you can run really far in the wrong direction before realizing you've forgotten you should be working with Outputs. Maybe that can help you hunt down 1 and 2.
On pt 4; amen. Python is mystical at the moment and I'm running back to TypedDicts 🏃
Hope that helps ✊famous-ambulance-44173
06/17/2025, 9:35 AMable-dusk-25606
06/17/2025, 12:30 PMfamous-ambulance-44173
06/17/2025, 12:33 PMfamous-ambulance-44173
06/17/2025, 4:58 PMmodern-spring-15520
06/17/2025, 6:00 PMgit tag v0.1.0 && git push --tags
pulumi package add <https://github.com/dmfigol/pulumi-aws-vpc-typescript@v0.1.0>
famous-ambulance-44173
06/17/2025, 7:55 PMmodern-spring-15520
06/18/2025, 1:59 PMfamous-ambulance-44173
06/18/2025, 1:59 PM