-
Notifications
You must be signed in to change notification settings - Fork 148
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
Add Ability to fetch the Task Definition Using AWS API for Node and Then Rendering it. #102
Comments
@mangeshg Thank you for reporting this feature request to us, we will look into this and get back with the appropriate answer to it. |
@paragbhingre Thanks Parag , Looking forward to it. |
I am also waiting for this feature to be available, I am also willing to contribute if someone can guide me through. |
This would be nice. My workaround is to run this step before the render task def step:
|
Looking forward to this feature! |
Good workaround, but the issue with this is that the tags are not pulled into the task definition. And removing the |
We do the following to get the task definition including tags and then sanitize the definition:
I am surprised that after 3 years of this being open, AWS hasn't taken any action. |
Hi @anitakrueger, |
I just tried out using this latest version of the task that will fetch the task definition, however it didn't fetch any of the tags, so when I registered that task definition with the amazon-ecs-deploy-task-definition action, it was created without any tags. It also rends a bunch of extra data that isn't needed (specifically the 7 properties that @anitakrueger removes in the If these two tasks are expected to be used together, I would expect rough spots like this to be fixed up. |
Hi @FISHMANPET, thanks for suggesting these improvements - if it wouldn't be too much of a bother, could you please open new issues to:
|
No worries, I just opened #317 |
Currently this workflow expects to have the Task Definition Json to be part of the GitHub Repo.
If this action can be enhanced to fetch the task definition just by using family:revision provided to AWS.ECS. describeTaskDefinition API and then rendering it further , Then Users do not need to check in the task definition Json in the Repo.
Optionally - Updated task definition can be registered back using registerTaskDefinition API call with updated ECR Image ID.
This will achieve -
The text was updated successfully, but these errors were encountered: