Skip to content

Commit

Permalink
Workaround for terraform lambda_multi_value_headers_enabled problem
Browse files Browse the repository at this point in the history
As described in: hashicorp/terraform-provider-aws#7960

Terraform is saying:

    Terraform will perform the following actions:

      ~ module.upload-service.module.upload-service-database.aws_lb_target_group.pgbouncer
          lambda_multi_value_headers_enabled: "" => "false"

Installing the workaround described in the git issue.
  • Loading branch information
sampierson authored and maniarathi committed Mar 29, 2019
1 parent 87acc3e commit 137a769
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions terraform/modules/database/pgbouncer.tf
Original file line number Diff line number Diff line change
Expand Up @@ -191,4 +191,7 @@ resource "aws_lb_target_group" "pgbouncer" {
protocol = "TCP"
vpc_id = "${var.vpc_id}"
target_type = "ip"
lifecycle {
ignore_changes = "lambda_multi_value_headers_enabled"
}
}

0 comments on commit 137a769

Please sign in to comment.