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

modernisation-platform-terraform-loadbalancer = Has Outdated input.regex for Parsing Application Load Balancer Logs #7107

Closed
colinbjohnson opened this issue May 28, 2024 · 2 comments
Assignees
Labels
bug Something isn't working

Comments

@colinbjohnson
Copy link

Expected Behavior

The modernisation-platform-terraform-loadbalancer module should use the input.regex as provided here: https://docs.aws.amazon.com/athena/latest/ug/application-load-balancer-logs.html.

  • AWS has recently added a new field unknown_fields
  • The field target_status_code is a string in the AWS documentation and an int in the given module
  • The field trace_id is named trace_header in the given module
  • The field matched_rule_priority is a string in the AWS documentation and an int in the given module
  • The field traceability_id in the AWS documentation is named trace_id in the given module

Actual Behavior

This fields either:

  • do not exist in the given module but do exist in Application Load Balancer Logs
  • match AWS names in their own documentation
  • use the wrong types for different fields

Steps to Reproduce the Problem

Compare the documentation here https://docs.aws.amazon.com/athena/latest/ug/application-load-balancer-logs.html#create-alb-access-logs-table with the file here https://github.com/ministryofjustice/modernisation-platform-terraform-loadbalancer/blob/main/main.tf.

Version

No response

Modules

No response

Account

No response

@colinbjohnson
Copy link
Author

BTW - I would be happy to submit a pull request to address this (if desired).

@SimonPPledger
Copy link
Contributor

SimonPPledger commented Jun 6, 2024

Hi, that would be great, feel free to raise a pull request - colinbjohnson

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
Archived in project
Development

No branches or pull requests

3 participants