Ufo creates a
.ufo folder within your project which contains the required files used by ufo to build and deploy docker images to ECS. The standard directory structure of the
.ufo folder looks like this:
.ufo ├── output ├── settings.yml ├── task_definitions.rb ├── templates | └── main.json.erb └── variables ├── base.rb ├── production.rb └── development.rb
The table below covers the purpose of each folder and file.
|File / Directory||Description|
||The folder where the generated task definitions are written to. The way the task definitions are generated are covered in ufo tasks build.|
||Ufo’s settings file, where you and adjust the default settings.|
||This where you define the task definitions and specify the variables to be used by the ERB templates.|
||The ERB templates with the task definition json code. The template are covered in more detail in ufo tasks build.|
||This is the main and starter template task definition json file that ufo initially generates.|
||This is where you can define shared variables that are made available to the template_definitions.rb and your templates. More info at Variables.|
Now that you know where the ufo configurations are located and what they look like. Let use ufo!
Pro tip: Use the <- and -> arrow keys to move back and forward.