aws-samples / aws-samples/aws-codecommit-serverless-backup

bug in aws_profile under deploy.sh

オープン
#8 コメント 0 件 リアクション 0 件 担当者 0 名 GitHub で見る
主要言語
Shell
スター
48
フォーク
62
PR マージ指標
30日以内にマージされた PR はありません

説明

If you have multiple AWS credentials, make sure you set your env as [default] under ~/.aws/credential. Otherwise, using the aws_profile under the deploy.sh will cause error below:

```
Unable to upload artifact None referenced by CodeUri parameter of CodeCommitBackupLambda resource.

An error occurred (AccessDenied) when calling the PutObject operation: Access Denied
```

コントリビューションガイド

コントリビューションガイドを開く

調査の方向性

deploy.sh から始め、aws_profile がどのように読み取られ、デプロイに渡されるかを確認します。複数の AWS 認証情報と ~/.aws/credential の [default] プロファイルを使用して失敗を再現し、その後、CodeCommitBackupLambda に対する CodeUri のアップロード動作を比較します。デプロイで報告されている AccessDenied または None アーティファクトエラーが発生しなくなれば完了です。

索引モデルが issue の本文から書いたものです。

評価

技術スタック
aws, shell
領域
cloud, devops
issue の種類
バグ
難易度
3/5
見積もり時間
1〜2日
活発さ
停滞
明瞭さ
説明が足りない
初心者へのやさしさ
25/100

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。