-
Notifications
You must be signed in to change notification settings - Fork 1
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
Fix communication between Batch instances and ECS tasks #16
base: develop
Are you sure you want to change the base?
Conversation
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.
Seems reasonable, but I'll let Solomon provide the full "approve".
security_group_id = aws_security_group.ecs_tasks.id | ||
protocol = "tcp" | ||
from_port = var.listener_port | ||
to_port = var.listener_port |
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.
Is listener_port
being used for two meanings, what the load balancer should listen on and what the ECS tasks should listen on for batch jobs? If so, can you update the comment on var.listener_port in variables.tf? Or create a separate variable var.ecs_tasks_port with the same value 80?
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.
Ahh, I see. Yeah, the code and comments have diverged quite a bit. Will fix, thanks!
Pull request checklist
Please check if your PR fulfills the following requirements:
Pull request type
Please check the type of change your PR introduces:
What is the current behavior?
Issue Number: GTC-2860
What is the new behavior?
Does this introduce a breaking change?
Other information
Data API PR (to attach the security group to the compute environments) to follow