I have it creating one version. It has latest and version 2 but can’t getting it to create more than one version of the same lambda?
resource "aws_lambda_function" "lambda" {
function_name = "test-lambda2"
publish = true
runtime = "python2.7"
source_code_hash = "${data.archive_file.lambda_zip.output_base64sha256}" handler = "index.handler"
filename = "lambda_function.zip"
role = "${aws_iam_role.iam_for_lambda_tf.arn}"
}