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
168 stars 17 forks source link

Added optional --s3-prefix for render #776

Closed JohnPreston closed 2 months ago

sonarcloud[bot] commented 2 months ago

Quality Gate Passed Quality Gate passed

Issues
0 New issues
0 Accepted issues

Measures
0 Security Hotspots
0.0% Coverage on New Code
0.0% Duplication on New Code

See analysis details on SonarCloud

JohnPreston commented 2 months ago

Tested with

ecs-compose-x render -d templates/ --bucket-name toto --s3-prefix tata/ -f use-cases/blog.features.yml -p something

and the templates/something.json contains, for example

TemplateURL": "https://s3.amazonaws.com/toto/tata/ServicesNetworking.json"

For the value of --s3-prefix it will make sure to remove any / at the start or the end as this wouldn't quite be valid.