Hi, I'm trying to get information from a file inside a container which is hosted inside an ECS (Fargate Service). That information is generated at run time and is not predictable.
I found 2 possible solutions :
• Enabling remote exec, and retrieving the information without pulumi (since I didn't found a function to do that remote exec on ecs). But it's not great to enable such feature in a prod env, and also not a huge fan of doing the call outside pulumi logic.
• Adding a side-car container which will read to value and get it to an s3/cloudwatch log. Kind of heavy, but should work !
Do some have better ideas, or already managed this kind of setup ?