Open Dreamystify opened 1 year ago
Ah yes, I can see from the API docs https://www.pulumi.com/registry/packages/digitalocean/api-docs/droplet/#id_nodejs is typed string, and https://www.pulumi.com/registry/packages/digitalocean/api-docs/volumeattachment/#dropletid_nodejs is typed number.
As a workaround, can you use Apply
to parse a number from the string, and use that as dropletId?
What happened?
The following example in the docs
Errors with the following
Pulumi Version: v3.49.0
Steps to reproduce
Run the example from the typescript docs https://www.pulumi.com/registry/packages/digitalocean/api-docs/volume/
Expected Behavior
dropletId to be the same type
Actual Behavior
VolumeAttachment.dropletId Input
Droplet.dropletId Output
Output of
pulumi about
No response
Additional context
No response
Contributing
Vote on this issue by adding a 👍 reaction. To contribute a fix for this issue, leave a comment (and link to your pull request, if you've opened one already).