This message was deleted.
# python
s
This message was deleted.
p
This problem is actually more broad in that you cannot concatenate a string with an output at all. The following will fail as well.
Copy code
logGroupName = '/aws/vpc/' + vpc.id + '/flows/reject'
n
which error it throws?
p
Copy code
logGroupName = '/aws/vpc/' + vpc.id + '/flows/reject'
    TypeError: must be str, not Output
    error: an unhandled error occurred: Program exited with non-zero exit code: 1
n
did you try
Copy code
Output.concat('/aws/vpc/', vpc.id, '/flows/rehect')
p
That did the trick. Thank you very much!
n
👌