Reviewer Keith - Fix use subdomain

I found that your previous changed broke things, as we cannot directly access parameters from the env variable. Instead, attributes should be used - I've made this change.

Tested by spinning up deployment on AWS.