compose-x / ecs_composex

Manage, Configure and Deploy your services and AWS services and applications from your docker-compose definitions
https://docs.compose-x.io
Mozilla Public License 2.0
164 stars 17 forks source link

[FR] x-<resource>::<name>::Property in container command #618

Closed JohnPreston closed 2 years ago

JohnPreston commented 2 years ago

As a user who might want to update the command for containers, I'd like to able to retrieve a resource property and insert that in the command line. For example, if I needed the bucket arn

x-s3:
  MyBucket: {}

services:
  serviceA:
    command:
      - --from-s3
      - x-s3::MyBucket:Arn

This is similar to how the values in environment get replaced, but for the command of the service.

JohnPreston commented 2 years ago

Implementing to help with #600