Aws-profile cli option

I must be doing something wrong because this option doesn’t seem to change anything for me. for example, when I use “–aws-profile prod” serverless still uses default profile. I did upgrade to v 1.15.1.

Also, should I be able to access the value passed into --aws-profile from with in the serverless.yml using “opt” (ex: ${opt:aws-profile})? I tried this, but it didn’t appear to work.