-
-
Notifications
You must be signed in to change notification settings - Fork 156
fix: Remove unused variables regarding listener ARNs count #292
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
base: main
Are you sure you want to change the base?
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change | ||||||
---|---|---|---|---|---|---|---|---|
|
@@ -127,8 +127,7 @@ module "web_app" { | |||||||
alb_ingress_healthcheck_path = "/" | ||||||||
|
||||||||
# NOTE: Cognito and OIDC authentication only supported on HTTPS endpoints; here we provide `https_listener_arn` from ALB | ||||||||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. 🛠️ Refactor suggestion Wrap single ARN in a list Apply this diff: - alb_ingress_authenticated_listener_arns = module.alb.https_listener_arn
+ alb_ingress_authenticated_listener_arns = [module.alb.https_listener_arn] 📝 Committable suggestion
Suggested change
🤖 Prompt for AI Agents
|
||||||||
alb_ingress_authenticated_listener_arns = module.alb.https_listener_arn | ||||||||
alb_ingress_authenticated_listener_arns_count = 1 | ||||||||
alb_ingress_authenticated_listener_arns = module.alb.https_listener_arn | ||||||||
|
||||||||
# Unauthenticated paths (with higher priority than the authenticated paths) | ||||||||
alb_ingress_unauthenticated_paths = ["/events"] | ||||||||
|
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.
🛠️ Refactor suggestion
Wrap single ARN in a list
The variable
alb_ingress_authenticated_listener_arns
expects a list of strings but is being assigned a single string. Wrap it in a list to satisfy the variable type.Apply this diff:
📝 Committable suggestion
🤖 Prompt for AI Agents