alert-monitor-28534
09/22/2022, 6:23 AM- address: Calling __str__ on an Output[T] is not supported.
To get the value of an Output[T] as an Output[str] consider:
1. o.apply(lambda v: f"prefix{v}suffix")
See <https://pulumi.io/help/outputs> for more details.
This function may throw in a future version of Pulumi.
This is what I've tried to do: vm1_public_ip_str = vm1.public_ip.apply(lambda public_ip: f"{public_ip}")
And this is how the cluster YAML should be generated:
output = cluster_template.render(
user="ubuntu",
master_public_ip=vm1_public_ip_str,
master_int_ip=vm1_private_ip_str,
worker_public_ip=vm2_public_ip_str,
worker_int_ip=vm2_private_ip_str,
ssh_key_path=ssh_key_path,
)
What to try next? Thanks in advance for the help!stocky-restaurant-98004
09/22/2022, 1:36 PMalert-monitor-28534
09/22/2022, 1:42 PMstocky-restaurant-98004
09/22/2022, 1:58 PM