https://pulumi.com logo
#python
Title
# python
g

great-sunset-355

03/09/2022, 7:05 AM
Is there a plan or an alternative to TS
pulumi.interpolate
in python?
m

millions-furniture-75402

03/09/2022, 2:11 PM
b

billowy-army-68599

03/09/2022, 3:57 PM
https://www.pulumi.com/docs/intro/concepts/inputs-outputs/#outputs-and-strings if you switch the picker to python here, it shows you this
g

great-sunset-355

03/10/2022, 3:53 PM
yeah I know there is
concat
I'm wondering if I could use a native functionality with
f-strings
or
str.format
instead of that
or is it OK to pass something like this:
Copy code
Output.concat(f"http://{hostname}:{port}/")
I'm not sure it does work this way, right?
b

billowy-army-68599

03/11/2022, 6:55 PM
yes it works that way
2 Views