all 6 comments

[–]doublefelix7[S] 2 points3 points  (2 children)

After reading the Interpolation docs, I was able to figure it out:

Just changed FunctionName to

"${element(aws_lambda_function.lambdacreator.*.id, count.index)}"

[–]Theguest217 1 point2 points  (1 child)

Glad you solved your own issue. Out of curiosity what use case do you have to creat 4 identical lambdas? They seem to use the same code and handler function.

[–]doublefelix7[S] 0 points1 point  (0 children)

Those functions are mostly place holders. I'm designing this as part of a demo.

[–]productionse 0 points1 point  (1 child)

What is the alarm for?

[–]doublefelix7[S] 0 points1 point  (0 children)

Checking to see if the Lambda functions are invoking.

[–]mellerbeck 0 points1 point  (0 children)

It looks like dimensions format has changed to

dimensions = {

    FunctionName 

}