aws-actions / amazon-ecs-render-task-definition

Inserts a container image URI into an Amazon ECS task definition JSON file.
MIT License
280 stars 142 forks source link

The render action does not delete environment variables that are no longer passed to it #300

Open scott-doyland-burrows opened 5 months ago

scott-doyland-burrows commented 5 months ago

If I set my envars as:

environment-variables: |
  a=1
  b=2

but then later change it to be:

environment-variables: |
  c=3
  d=4

I end up with all four envars defined in the ECS task. But should only have the last two defined.

karanbokil commented 5 months ago

Hi @scott-doyland-burrows! Thanks for submitting this issue, we will investigate more into this.