[Bug]: Parameters for application load balancer gets added to gateway load balancer #27962
Labels
bug
Addresses a defect in current functionality.
service/elbv2
Issues and PRs that pertain to the elbv2 service.
Terraform Core Version
0.14.8
AWS Provider Version
Affected Resource(s)
aws_lb
Expected Behavior
It should create gateway load balancer without the below parameters.
drop_invalid_header_fields
enable_http2
enable_waf_fail_open
idle_timeout
Actual Behavior
It's adding the default values of below parameters:
drop_invalid_header_fields = false
enable_http2 = true
enable_waf_fail_open = false
idle_timeout = 60
Relevant Error/Panic Output Snippet
No response
Terraform Configuration Files
resource "aws_lb" "gateway_lb" {
name = GWLB01
load_balancer_type = "gateway"
enable_cross_zone_load_balancing = true
enable_deletion_protection = true
subnets = [subnet-xxxxx, subnet-yyyy]
}
Steps to Reproduce
terraform init
terraform plan
terraform apply
Debug Output
No response
Panic Output
No response
Important Factoids
We are running import in existing infrastructure. We want it to give below output:
0 to add, 0 to change, 0 to destroy
Instead it's showing 1 to change
References
No response
Would you like to implement a fix?
No response
The text was updated successfully, but these errors were encountered: