Hey there.
I'm trying to create the an rds and ec2 instance.
All it's fine, but when i try to pass th rds to the ec2 userData parameter, with createUserData I get the following error Calling [toString] on an [Output<T>]
Thanks! I traied to update with the following code, but I obtain the same result
let endpoint = this.rds.endpoint;
const dbHost = pulumi.all([endpoint]).apply(([endpoint]) =>