-
Notifications
You must be signed in to change notification settings - Fork 242
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
Unexpected key 'environmentFiles' : Failed to register task definition in ECS #64
Comments
It looks like it might be using an older version of the AWS SDK which does not yet support environmentFiles. Will confirm and provide more details. |
Thanks @pkandasamy91 , also I am not sure if the latest version of AWS SDK supports |
Hi @gaurav-agarwal27, that feature is not fully released yet, which is why it isn't yet in the SDK. Please watch this roadmap issue for updates on when it is released: |
Thanks for the update @clareliguori |
Hi @gaurav-agarwal27, support for environmentFiles have now been released: https://aws.amazon.com/about-aws/whats-new/2020/05/amazon-elastic-container-service-supports-environment-files-ec2-launch-type/ The AWS-SDK v2.679.0 now supports environmentFiles: https://github.com/aws/aws-sdk-js/blob/master/CHANGELOG.md |
@gaurav-agarwal27 the dependencies have been updated, and you should now be able to use environmentFiles. Let me know if you're still running into issues. |
@pkandasamy91 thank you so much for the prompt action. Everything is working fine now 😃 |
Bumps [jest](https://github.com/facebook/jest) from 26.4.2 to 26.5.0. - [Release notes](https://github.com/facebook/jest/releases) - [Changelog](https://github.com/facebook/jest/blob/master/CHANGELOG.md) - [Commits](jestjs/jest@v26.4.2...v26.5.0) Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Same here. In my case I solved it by upgrading from |
Just came back here to say the same thing. Bumping to v2 worked for me as well |
We are on v2. We have been on v2 for a long time but suddenly started to get this error |
@piradeepk This issue should be reopened. We started experiencing the error mentioned in #64 (comment) with no changes on our end. Upgrading to aws-actions/amazon-ecs-deploy-task-definition@v2 fixed the issue. |
Using
aws-actions/amazon-ecs-deploy-task-definition@v1
I have added environmentFiles in my containerDefinitions of
task-definition.json
as:Getting the following error:
The text was updated successfully, but these errors were encountered: