User Tools

Site Tools


bloglike:2021-07

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
bloglike:2021-07 [2021/07/21 03:36] – final touches and we're done. case closed. I hope. styblabloglike:2021-07 [2021/07/21 09:29] (current) – link terraform issue stybla
Line 30: Line 30:
 I guess all of this could've been done much faster and less painful with a simple Lambda function, but then you have code to maintain and deploy. I guess all of this could've been done much faster and less painful with a simple Lambda function, but then you have code to maintain and deploy.
  
-Couple more things. Beware of this [[https://github.com/aws-cloudformation/cloudformation-coverage-roadmap/issues/351#issue-552650814|bug]]. Over and out.+Couple more things. Beware of this [[https://github.com/aws-cloudformation/cloudformation-coverage-roadmap/issues/351#issue-552650814|bug]].
  
 > Note: CloudWatch Events currently supports a maximum of 10 variables in input path maps. To extract more than 10 variables, pass the entire event to an AWS Lambda function for parsing. > Note: CloudWatch Events currently supports a maximum of 10 variables in input path maps. To extract more than 10 variables, pass the entire event to an AWS Lambda function for parsing.
  
-Well, I able to parse 13 variables. Lucky me, I guess. 8-) As I've said, use Lambda function, if you can. Yeah, anything but CloudWatch Logs.+Well, I able to parse 13 variables. Lucky me, I guess. 8-) Or maybe not, because when I've tried to put this into terraform, then: 
 + 
 +<code> 
 +Error: expected number of items in input_transformer.0.input_paths to be less than or equal to 10, got 16 
 +</code> 
 + 
 +To that I say, bollocks! It works no-problem from the console, so why would you ...?! [[https://github.com/hashicorp/terraform-provider-aws/issues/10912|Geee, thanks!]] :-\ As I've said, use Lambda function, if you can. Yeah, anything but CloudWatch Logs.
  
 You can filter which events get processed like so: You can filter which events get processed like so:
bloglike/2021-07.1626856572.txt.gz · Last modified: 2021/07/21 03:36 by stybla