pulumi-digitalocean icon indicating copy to clipboard operation
pulumi-digitalocean copied to clipboard

Type mismatch for `DropletId` when creating a new reserved IP

Open nmathew98 opened this issue 4 months ago • 4 comments

Describe what happened

NewReservedIp accepts ReservedIpArgs which has a field DropletId of type pulumi.IntPtrInput but when creating a NewDroplet the ID available is of type pulumi.IDOutput

NewDroplet Image

ReservedIpArgs Image

Sample program

main.go.txt

Log output

pulumi.log

Affected Resource(s)

  • NewDroplet
  • NewReservedIp

Output of pulumi about

CLI
Version 3.129.0 Go Version go1.22.6 Go Compiler gc

Plugins KIND NAME VERSION resource cloudflare 5.41.0 resource digitalocean 4.34.0 language go unknown

Host
OS alpine Version 3.20.2 Arch aarch64

This project is written in go: executable='/usr/local/go/bin/go' version='go version go1.23.0 linux/arm64'

Current Stack: skulpture/brittle-systems/statamic

Found no resources associated with statamic

Found no pending operations associated with statamic

Backend
Name pulumi.com URL https://app.pulumi.com/skulpture User skulpture Organizations skulpture Token type personal

Dependencies: NAME VERSION github.com/dogmatiq/ferrite v1.4.0 github.com/pulumi/pulumi-cloudflare/sdk/v5 v5.41.0 github.com/pulumi/pulumi-digitalocean/sdk/v4 v4.34.0 github.com/pulumi/pulumi/sdk/v3 v3.136.1

Pulumi locates its logs in /tmp by default

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).

nmathew98 avatar Oct 22 '24 08:10 nmathew98