former2 icon indicating copy to clipboard operation
former2 copied to clipboard

terraform resource aws_lambda_function generated incorrect output

Open rorourke-iot opened this issue 1 year ago • 0 comments

The resource aws_lambda_function was generated as

resource "aws_lambda_function" "<terraform id>" {
    .
    .
    .
    environment {
        variables {
            .
            .
            .
        }
    }
    .
    .
    .
}

According to the docs, variables { should be variables = {.

rorourke-iot avatar May 01 '23 14:05 rorourke-iot