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

Orphaned Target Group "default" #94

Closed
welderpb opened this issue Jun 23, 2021 · 2 comments · Fixed by #97
Closed

Orphaned Target Group "default" #94

welderpb opened this issue Jun 23, 2021 · 2 comments · Fixed by #97
Labels
bug 🐛 An issue with the system

Comments

@welderpb
Copy link
Contributor

Orphaned target group(default) is created when i use "fixed response" for both listeners, http and https..

@welderpb welderpb added the bug 🐛 An issue with the system label Jun 23, 2021
@nitrocode
Copy link
Member

nitrocode commented Aug 2, 2021

Sounds like we need to remove the target group if both the listener_http_fixed_response and listener_https_fixed_response are set.

So change this

  count                = module.this.enabled ? 1 : 0

to this

  count                = module.this.enabled && listener_http_fixed_response == null && listener_https_fixed_response == null ? 1 : 0

Is that right @welderpb ?

@welderpb
Copy link
Contributor Author

Sounds like we need to remove the target group if both the listener_http_fixed_response and listener_https_fixed_response are set.

So change this

  count                = module.this.enabled ? 1 : 0

to this

  count                = module.this.enabled && listener_http_fixed_response == null && listener_https_fixed_response == null ? 1 : 0

Is that right @welderpb ?

Yes, you right..

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug 🐛 An issue with the system
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants