-
Notifications
You must be signed in to change notification settings - Fork 13
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
V5 Major Version Release: Normalize input dropletId
to the same type as id
#600
Comments
If you feel that this issue is sufficiently painful to motivate a major version bump all on it's own, please 👍 this comment. If you feel that this issue should not motivate a major version bump, please 👎 this comment. |
@iwahbe can we update the docs |
@nmathew98 Which docs? |
like here for golang: https://www.pulumi.com/registry/packages/digitalocean/api-docs/reservedip/ and I think the rest are also referencing |
Those examples are generated, but I opened an issue in our code generator to track a fix. Thanks for pointing it out! |
The upstream provider models
id
anddropletId
as an integer. Pulumi always modelsid
as a string, which works well for most providers... but not this one. For the next major version release of this provider, we should switch over to modelingdropletId
as a string, allowing the convenient passing of a droplet'sid
field to a input that accepts adropletId
.The current workaround is to parse the
id
field before passing it intodropletId
:This will fix:
The text was updated successfully, but these errors were encountered: