custom message in the SNS
Nobody has claimed this yet.
Assessment
- Difficulty
- 5/5
- Estimated time
- Over a week
- Newbie friendliness
- 25/100
Research direction
Review how the commit file inside app.tgz is uploaded to S3 and how the SNS payload is assembled. Compare that flow with triggering a CodeDeploy deployment through an API call carrying the commit ID. Done means the deployment alert can relate the deploy-id to the commit-id, including in Slack notifications.
Written by the indexing model from the issue text.
Description
I am currently storing the commit ID in a file named (commit) within the file that is updated to the S3. Is there a way to read the file so that it can be used within the SNS payload and I could I relate the deploy-id with the commit-id when sending alerts for example via slack.
Currently the alerts look like this:
[test] - Deployment d-705FE8ZY4 app-title : i-0d910a1c70be24407 Succeeded
ApplicationStop: Succeeded
DownloadBundle: Succeeded
BeforeInstall: Succeeded
Install: Succeeded
AfterInstall: Succeeded
ApplicationStart: Succeeded
ValidateService: Succeeded
But I haven't found how to use/read the commit file that is within the app.tgz so that I could use is as the title, or wondering if instead of triggering automatically the pipeline by updating the file in S3, is there a way to trigger the deploy via an API call in where I could there add a custom payload (pass the commit Id) and use it?
- Dominant language
- Shell
- Stars
- 151
- Forks
- 214
- PR merge metrics
- No merged PRs in 30d
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from aws-samples/aws-codedeploy-github-actions-deployment
-
Difficulty 3/5 1-2 days Newbie friendliness 45/100
-
Difficulty 4/5 3-5 days Newbie friendliness 35/100
aws-samples/aws-codedeploy-github-actions-deployment#3 · 1 reaction ·
All issues in aws-samples/aws-codedeploy-github-actions-deployment
Similar issues
-
Difficulty 2/5 1-3 hours Newbie friendliness 70/100
huggingface/Repo2RLEnv#163 · 1 comment ·
-
setup tools wizard offers no GitHub auth path, and setup summary doesn't recognize `gh` CLI auth Openarea/auth comp/cli P3 tool/skills type/bug
Difficulty 2/5 1-3 hours Newbie friendliness 75/100
NousResearch/hermes-agent#121131 ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 75/100
-
bug
Difficulty 2/5 1-3 hours Newbie friendliness 75/100
bradcypert/plum#53 ·
-
tmp_watchgod.sh exceeds the 1000-line cap; the Zone A guard helpers are a clean extraction seam Open
Difficulty 2/5 1-3 hours Newbie friendliness 70/100
WingedGuardian/GENesis-AGI#2301 ·