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
this is something that we noticed while working on #752. The IDs of resources are defined as String while the say that they are integers in the docs, and any resource references also take integers (like serverId/volumeId in your example).
This is not a problem for hcl terraform, as terraform casts this automatically to the right type. We assumed that no one noticed so far, but looks like CDKTF is actually exposing this discrepancy.
We already opened #862 to fix this, so I am going to close this as a duplicate.
What happened?
The types returned by the resources are unusual.
What did you expect to happen?
Resources return the correct types
Please provide a minimal working example
Example when using the auto generated Provider with CDKTF. Everywhere where a
toString()
ortoLong()
appears is something not ok I assume.The text was updated successfully, but these errors were encountered: