Resources
A resource is something your application runs or depends on. Resources live inside an environment and connect to one another through variables.
Kuppit has two kinds of resource today:
Every resource has a name that is unique within its environment. The name is how other resources address it in a reference, and for a web service it is also part of the generated hostname.
Adding a resource
On an environment's Overview, choose Add resource. Kuppit asks for the kind of resource, how it should be created, and anything that kind needs, then shows a plan to review before anything is provisioned.
A new resource can be created from scratch, or, for a database, cloned from or shared with another environment's database. See PostgreSQL.
Removing a resource
Deleting a resource is permanent. A web service loses its deployments, hostnames and history; a database loses its data. Kuppit names what will be deleted, and what will merely be disconnected, before you confirm.
A resource shared from another environment is not deleted when removed from this one. The environment simply stops using it.