-
-
Notifications
You must be signed in to change notification settings - Fork 681
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
feat: Support http respond headers for ALB listeners #398
base: master
Are you sure you want to change the base?
feat: Support http respond headers for ALB listeners #398
Conversation
load_balancer_arn = aws_lb.this[0].arn | ||
port = try(each.value.port, var.default_port) | ||
protocol = try(each.value.protocol, var.default_protocol) | ||
ssl_policy = contains(["HTTPS", "TLS"], try(each.value.protocol, var.default_protocol)) ? try(each.value.ssl_policy, "ELBSecurityPolicy-TLS13-1-2-Res-2021-06") : try(each.value.ssl_policy, null) | ||
tcp_idle_timeout_seconds = try(each.value.tcp_idle_timeout_seconds, null) | ||
tags = merge(local.tags, try(each.value.tags, {})) | ||
|
||
lifecycle { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
why is this required?
} | ||
|
||
resource "terraform_data" "listeaner_replacement_trigger" { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
why is this required?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@bryantbiggs the provider doesnt update in place the values. It update only on create/recreate the listener.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'm not seeing that reflected in the implementation - it is checking for updates hashicorp/terraform-provider-aws#40736
if what you are saying is true, the provider should specify ForceNew: true
- we are not going to handle that here
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
NP, i will wait for a fix hashicorp/terraform-provider-aws#40986
Description
Add support for HTTP Respond headers.
Allow setting each value.
Create a lifecycle trigger as the provider will not update the value in place.
Motivation and Context
Support #397
Breaking Changes
No
How Has This Been Tested?
examples/*
to demonstrate and validate my change(s)examples/*
projectspre-commit run -a
on my pull request