flexera-public / right_st

RightScale ServerTemplate and RightScript tool
MIT License
12 stars 1 forks source link

account lookup fails #44

Closed gonzalez closed 7 years ago

gonzalez commented 7 years ago

When using the account name as it appears in right_st.yml , the lookup fails, when using the lowercase equivalent it succeeds.

right_st config show displays the config as olf3: host: us-3.rightscale.com id: 12345 refresh_token: abcdefghij

right_st -a OLF3 st upload sometemplate.yml ERROR: right_st: Error reading config file: /Users/asdf/.right_st.yml: could not find account: OLF3

right_st.yml

OLF3:
  host: us-3.rightscale.com
  id: 12345
  refresh_token: abcdefh

right_st -a olf3 st upload sometemplate.yml . works

expected behavior: The name as it appears in the right_st.yml should be used when looking up the account.