I notice that when you export an `int` from a stac...
# general
c
I notice that when you export an
int
from a stack and import it in another stack it becomes a
float
which seems wrong, is this expected behaviour?
Specifically this is for the
port
property of
aws.rds.Instance
which I export then import and use via an
apply
Easy to workaround, but if this isn’t expected then I will raise a bug in GH
p
Can you specify what language you use? I guess it’s python but I’d like to confirm that.
c
Apologies @prehistoric-activity-61023 - yes, Python (3.9)
p
I’ll try to repro it myself but I guess it’s possible that all
int
are converted to
float
in python (I guess it goes through JSON number at some point and that’s the reason).
Anyway, I think you still may report that as an issue cause you were surprised by that behavior and (I think) it’s not documented anywhere.
b
Yeah if you could raise an issue in https://github.com/pulumi/pulumi that would be great thank you
c
Shall do, thanks both!
@brave-planet-10645 @prehistoric-activity-61023 FYI
b
Thank you