Creating an example use case
In order to understand the creation and use of Custom Resources, let's create a somewhat contrived example use case. In order to avoid getting lost in the details, we'll keep the example simple, using just enough detail so that you can see the power of Custom Resources.
What is the goal?
We have been asked to create a new cookbook to support a brand new web application. The application is going to use several different websites such as a "Users" site, a "Suppliers" site, and a "Customers" site. The developers are saying that there will be several other sites needed in the future, but they want to get started now with these three.
Based on this short user story, we are going to create a new cookbook named "mywebapp", and it is going to create the beginnings of three websites: "Users", "Suppliers", and "Customers". We should keep in mind that these three sites are only the beginning, and our cookbook should be written to make adding more websites easy. We are going...