Closed kyriakosdem closed 3 years ago
When trying to add environment details for a function, the terraform file that is being generated it doesnt add the = sign. ex:
tfg.resource('aws_lambda_function', lambdaName, { ... environment: { variables: { environment: "${var.environment}" } } }
Results to:
resource "aws_lambda_function" "someName" { ... environment { variables { environment = var.environment } } }
As you can see above.. variables should be followed by an = sign
When trying to add environment details for a function, the terraform file that is being generated it doesnt add the = sign. ex:
Results to:
resource "aws_lambda_function" "someName" { ... environment { variables { environment = var.environment } } }
As you can see above.. variables should be followed by an = sign