clean-dentist-2515
11/14/2020, 11:10 PMid
is str
type:
https://www.pulumi.com/docs/reference/pkg/digitalocean/droplet/#id_python
but the droplet_id
input for the volume attachment is `int`:
https://www.pulumi.com/docs/reference/pkg/digitalocean/volumeattachment/#droplet_id_python
pulumi up
fails with:
VolumeAttachment resource 'pgb-dokku-db-vol-attachment' has a problem: Attribute must be a whole number, got 216866671
if I try to cast the output id as int(droplet.id)
(in python) I get:
TypeError: int() argument must be a string, a bytes-like object or a number, not 'Output'
is there a workaround?