The problem is with CloudFormation stack.
I installed the CommandRunner it works for easy commands like echo something into command-output.txt then output it in the stack. But if i try complex commands it isn't working.
The bigger problem for me is that it creates a new logstream under awsutility-cloudformation-commandrunner-logs2 Log Group in CloudWatch, but this logstream stays completely empty.
I have these actions in my policy "logs:CreateLogStream", "logs:DescribeLogGroups", "log:PutLogEvents".
I installed the CommandRunner as mentioned in the readme.
This way i have no idea how to debug what is the problem with my command.
Can anyone help me address this why my logging stays empty?