UFO_ENV_EXTRA
Ufo has an concept of extra environments. This is controlled by the UFO_ENV_EXTRA
variable. By setting UFO_ENV_EXTRA
you can create additional identical ECS services or environments.
ufo ship demo-web # creates a demo-web ecs service
UFO_ENV_EXTRA=2 ufo ship demo-web # creates a demo-web-2 ecs service
The UFO_ENV_EXTRA
can also be set with ufo current
so you do not have to type it over.
ufo current --env-extra 1
The precedence:
- UFO_ENV_EXTRA - takes highest precedence
.ufo/current
env-extra setting - takes lower precedence
Pro tip: Use the <- and -> arrow keys to move back and forward.
Edit this page
See a typo or an error? You can improve this page. This website is available on GitHub and contributions are encouraged and welcomed. We love pull requests from you!
- Suggest an edit to this page (here's the contributing guide).
- Open an issue about this page to report a problem.