Skip to main content

Build Your Own

Learn how to build a use case from scratch

Your Use Case repository structure

  1. Each use case is linked with a repository. Create your own repo and copy the structure of the basic-dt-demo

https://github.com/dynatrace-ace/basic-dt-demo

  1. Your roles/my-use-case/tasks/main.yml could look as simple as this, in this way you are starting from scratch, without creating anything in particular
---
- debug:
msg: "Hello from your external use case!"
  1. Deploy your ACE-Box as we did in 2. Deploy

  2. Enable your use case as we did in 3. Enable use case, this time pointing to yours

ace enable https://github.com/<your_project>/<your_use_case>.git

If you're using a private repo:

ace enable https://YOUR_GITHUB_USER:YOUR_GITHUB_TOKEN@github.com/<your_project>/<your_use_case>.git

Well done, now you have your use case within your ACE-Box, now you can start developing on top of it.

Adding the first modules to your use case

Following these steps, now you can start adding curated and custom roles to your use case