Skip to content

aws-startup-community/aws-update-notification

Repository files navigation

AWS Update Notification for Discord

Parameter Store への Webhook の登録

事前に /update-notification/target/webhooks/<channel_name> に webhook の URL を入れておく必要がある。ただし、/update-notification/target/webhooks/default は必須。

※ Parameter の Prefix が決め打ちになっているので、そのうち直したい。

aws ssm put-parameter --type String --name /update-notification/target/webhooks/<channel_name> --value https://discord.com/api/webhooks/1234/ABCD
aws ssm get-parameters-by-path --path /update-notification/target/webhooks/

Deploy

chalice deploy

Invoke

cat test-event.json | chalice invoke -n check_news

Delete

chalice delete

Pipeline

aws secretsmanager create-secret --name GithubRepoAccess \
  --description "Token for Github Repo Access" \
  --secret-string '{"OAuthToken": "xxxxxxxx"}'

aws cloudformation deploy \
    --template-file pipeline.yml \
    --capabilities CAPABILITY_IAM \
    --stack-name {{ }} \
    --parameter-overrides \
        GithubOwner={{ }} \
        GithubRepoName={{  }}

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages