Revert "Replace resource name with variable"

This reverts commit 22072846894c4ca771cb21ec7cfa8db563dd919b.
Update logic to support empty agent_service_conf variable