You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Nov 27, 2023. It is now read-only.
To workaround the lack of sidecar support in docker compose files, I had the idea of simply adding in a definition for a new container to the ContainerDefinitions array on a generated TaskDefinition via the x-aws-cloudformation overlay.
However I found that if I add an element to a YAML array in the overlay, it will replace the entire array with my override rather than appending.
It would make this feature much more powerful if there was some way to control the way the YAML is merged.
It looks like the library used for this is kyaml from kubernetes? I couldn't find any documenation so I'm not sure if this is a feature which is already here, or if this is a feature request.
The text was updated successfully, but these errors were encountered:
will automatically merge these two (nginx, some-sidecar) into the one task definition.
All details in these docs
Again, the objective here of compose-x is to remove the necessity to write CFN template for ECS services, and retain CFN syntax for every other aws resources that you want to create/use.
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.
Description
To workaround the lack of sidecar support in docker compose files, I had the idea of simply adding in a definition for a new container to the ContainerDefinitions array on a generated TaskDefinition via the x-aws-cloudformation overlay.
However I found that if I add an element to a YAML array in the overlay, it will replace the entire array with my override rather than appending.
It would make this feature much more powerful if there was some way to control the way the YAML is merged.
It looks like the library used for this is kyaml from kubernetes? I couldn't find any documenation so I'm not sure if this is a feature which is already here, or if this is a feature request.
The text was updated successfully, but these errors were encountered: