Builds the configuration
the fully configured and immutable configuration
if the configuration is invalid