こんなかんじ。
$ environment='dev' $ dev_account_id='AAA' $ eval account_id=\"\$${environment}_account_id\" $ echo ${account_id} AAA
こんなかんじ。
$ environment='dev' $ dev_account_id='AAA' $ eval account_id=\"\$${environment}_account_id\" $ echo ${account_id} AAA