You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
const foobarVolume = new digitalocean.Volume("foobarVolume", {
region: "nyc1",
size: 100,
initialFilesystemType: "ext4",
description: "an example volume",
});
const foobarDroplet = new digitalocean.Droplet("foobarDroplet", {
size: "s-1vcpu-1gb",
image: "ubuntu-18-04-x64",
region: "nyc1",
});
const foobarVolumeAttachment = new digitalocean.VolumeAttachment("foobarVolumeAttachment", {
dropletId: foobarDroplet.id, <--- this errors
volumeId: foobarVolume.id,
});
Errors with the following
Type 'Output<string>' is not assignable to type 'Input<number>'.
Type 'Output<string>' is not assignable to type 'OutputInstance<number>'.
Types of property 'apply' are incompatible.
Type '{ <U>(func: (t: string) => Promise<U>): Output<U>; <U>(func: (t: string) => OutputInstance<U>): Output<U>; <U>(func: (t: string) => U): Output<...>; }' is not assignable to type '{ <U>(func: (t: number) => Promise<U>): Output<U>; <U>(func: (t: number) => OutputInstance<U>): Output<U>; <U>(func: (t: number) => U): Output<...>; }'.
Types of parameters 'func' and 'func' are incompatible.
Types of parameters 't' and 't' are incompatible.
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).
The text was updated successfully, but these errors were encountered:
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).
The text was updated successfully, but these errors were encountered: