chilly-hairdresser-56259
06/11/2020, 7:04 PMOutput.all().apply() and just apply() and I am unable to convert the output to string. I am attempting to create an AppAutoscaling Target which requires the resources Id structure of service/ECS Cluster Name/ECS Service Name , however I am unable to correctly convert it. Even so I would expect if I just try to print the output manipulation I should see the actual value. Example print(service[0].name.apply(lambda vals: f"""{vals}""")) returns <pulumi.output.Output object at 0x7fcc88389b50> I would expect the actual ECSService Name. I created a wrapper function which output multiple returns thus the index 0. Another thing I tested was service[0].Output.all(service[0].name).apply(lambda vals: f"""{vals}""") which still results with ``<pulumi.output.Output object at 0x7fcc88389b50>`No matter how you like to participate in developer communities, Pulumi wants to meet you there. If you want to meet other Pulumi users to share use-cases and best practices, contribute code or documentation, see us at an event, or just tell a story about something cool you did with Pulumi, you are part of our community.
Powered by