-
Notifications
You must be signed in to change notification settings - Fork 302
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 container instance tagging #745
Conversation
|
Tags are correctly being added:
|
@@ -1 +1 @@ | |||
1.12.1 | |||
1.13.0 |
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.
Should this be 1.13.1
since 1.13.0
was already released?
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.
Yeah, this is happening because dev
is one commit behind master
, and my code is off of master
. So this PR contains the 1.13.0 version bump. I need to put up a separate pull request to catch dev
up with master
.
Once this fix is approved, we'll release it as 1.13.1
.
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.
See: #746
@@ -22,7 +22,7 @@ package version | |||
// repository. Only the 'Version' const should change in checked-in source code | |||
|
|||
// Version is the version of the ECS CLI | |||
const Version = "1.12.1" | |||
const Version = "1.13.0" |
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.
Same comment, should this be 1.13.1
?
Verified that the case with container instance tagging disabled still works:
|
And finally, verified that cluster up still works without tagging:
|
d539ce8
to
5b6b4b7
Compare
0e50646
to
f04fc41
Compare
Testing with the new CFN changes:
|
f04fc41
to
36db33f
Compare
36db33f
to
c0c8cbc
Compare
Unfortunately, inheriting tags from EC2 is not robust. There is a race condition; the tags may not have propagated from autoscaling to the EC2 instance when the agent runs:
Therefore, we're gonna have to scrap this and go with the other method of adding tags to container instances: specifying the tag values in the user data directly. |
Closing in favor of #747 |
Issue #, if available:
#744 #670
Description of changes:
Bug fix for tagging,
ec2:DescribeTags
permissions are needed. Please see the comment in the issue for a full explanation, and workarounds: #744 (comment)By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.