aws –profile で複数のアカウントを設定

前にも書いてあったかもしれないですが記事名になかったので記載
aws configure –profile “任意の名前”
でaws の設定をアカウントを任意に作り分けることができます

profile の設定例
aws configure --profile hogehoge

profile の使用例
aws --profile hogehoge sns --topic-arn....