define default config as resource