Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

aws_lambda_function with dead_letter_config causes a crash #14961

Closed
brikis98 opened this issue May 31, 2017 · 1 comment · Fixed by #14964
Closed

aws_lambda_function with dead_letter_config causes a crash #14961

brikis98 opened this issue May 31, 2017 · 1 comment · Fixed by #14964

Comments

@brikis98
Copy link
Contributor

brikis98 commented May 31, 2017

Terraform Version

terraform v0.9.3, terraform v0.9.6

Affected Resource(s)

  • aws_lambda_function

Terraform Configuration Files

resource "aws_lambda_function" "function" {
  function_name = "example"

  filename = "${data.archive_file.source_code.output_path}"
  source_code_hash = "${data.archive_file.source_code.output_base64sha256}"

  runtime = "python2.7"
  handler = "index.handler"

  dead_letter_config {
    target_arn = "${var.dead_letter_target_arn}"
  }
}

variable "dead_letter_target_arn" {
  default = ""
}

Panic Output

Crash log and stderr: https://gist.github.com/brikis98/77c5c8d20f4b54db209abf5a6d4e33d6

Steps to Reproduce

  1. Set the dead_letter_target_arn to an empty string
  2. terraform apply
@ghost
Copy link

ghost commented Apr 11, 2020

I'm going to lock this issue because it has been closed for 30 days ⏳. This helps our maintainers find and focus on the active issues.

If you have found a problem that seems similar to this, please open a new issue and complete the issue template so we can capture all the details necessary to investigate further.

@ghost ghost unassigned grubernaut Apr 11, 2020
@ghost ghost locked and limited conversation to collaborators Apr 11, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants