-
Notifications
You must be signed in to change notification settings - Fork 1.5k
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 #3255
Comments
Hey @gaurav-agarwal27 thank-you for reaching out, how are you consuming the JS-SDK in this? |
Hi @ajredniwja, like I mentioned I am using Github Action I checked in |
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: |
If you still like to open an issue, change [ ] to [x] below:
I am using Github Actions to automate deploy the task to ECS. Passed S3 ARN as
environmentFiles
in ECS console, and it seems to work fine. But the same task-definition JSON doesn't work when usingaws-actions/amazon-ecs-deploy-task-definition@v1
environmentFiles
reference pull requests onaws/amazon-ecs-agent
repo: #2420, #2421I 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: