-
Notifications
You must be signed in to change notification settings - Fork 9.6k
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
provider/aws: Fix bug w/ changing ECS svc/ELB association #4366
Conversation
log.Printf("[DEBUG] Trying to delete ECS service again: %q", | ||
ec2err.Message()) | ||
return err | ||
} |
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.
@hngkr this is what I meant in my comment #4326 (comment)
dcc0917
to
673c10f
Compare
I've been trying to make the LB change non-destructive (as described in #3444) and it seems it's not as easy as I thought due to the lifecycle of ECS task definitions. In order to change the port number, we have to change both the It would be nice to make changing LB ports smooth, but for now I will just polish what I have to fix the original bug. |
673c10f
to
c8fa8c3
Compare
c8fa8c3
to
9a62542
Compare
Theoretically the tests may fail intermittently due to #4375 but that's out of scope of this PR, so it's ready for review & merge. |
This looks good to me @radeksimko , thanks! |
Feel free to merge at your convenience :) |
provider/aws: Fix bug w/ changing ECS svc/ELB association
I'm going to lock this issue because it has been closed for 30 days ⏳. This helps our maintainers find and focus on the active issues. If you have found a problem that seems similar to this, please open a new issue and complete the issue template so we can capture all the details necessary to investigate further. |
This is fixing #3444 and #4227
Copy-pasting the RCA:
The other commit is also addressing the problem mentioned in #4326
It is not addressing the optional&generated name yet. Having not very positive experience with ELBs and LCs & generated names there, I'd like to make it generated with a prefix, so a human is able to identify each service outside of terraform. The lack of tags in ECS is making prefixes even more important.