-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
2 changed files
with
13 additions
and
9 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -19,19 +19,22 @@ On the daily 'full run' we also load the map of groups (_key_: a 'shorthand' for | |
|
||
The set email groups that can be messaged from Pinboard is defined in the AWS Param Store, as mentioned above. To edit the list, you will need AWS console access for the "Workflow" account in [Janus](https://janus.gutools.co.uk/). | ||
|
||
From the AWS console, open the *Parameter Store* and find the entry for pinboard groups. There are separate entries for CODE and PROD. The value of the parameter is a JSON string in this format: | ||
From the AWS console, open the _Parameter Store_ and find the entry for pinboard groups. There are separate entries for CODE and PROD. The value of the parameter is a JSON string in this format: | ||
|
||
```JSON | ||
{ | ||
"digicms": "[email protected]", | ||
"digicms": "[email protected]", | ||
"pinboardHELP": "[email protected]" | ||
} | ||
``` | ||
|
||
The keys in the object are the display name shown in the Pinboard UI, the values are the email address for the group. When updating the value, please note: | ||
- On CODE we use "[email protected]" as the email address for all groups except "[email protected]". This is so messages on CODE pinboard are not sent to the real recipients | ||
- In JSON, the last entry in an object must NOT have a trailing comma | ||
|
||
The groups are updated in the application once per day on the daily 'full run' mentioned above - but you can trigger an update after making your change by: | ||
- opening the *lambda* menu from the AWS console ("Workflow" account) | ||
- open the lambda (`pinboard-users-refresher-lambda-PROD` or `pinboard-users-refresher-lambda-CODE`) from the list | ||
- from the *Test* tab, use the "Test" button to invoke the function (the payload sent to the lambda should be an empty object) | ||
- On CODE we use "[email protected]" as the email address for all groups except "[email protected]". This is so messages on CODE pinboard are not sent to the real recipients | ||
- In JSON, the last entry in an object must NOT have a trailing comma | ||
|
||
The groups are updated in the application once per day on the daily 'full run' mentioned above - but you can trigger an update after making your change by: | ||
|
||
- opening the _lambda_ menu from the AWS console ("Workflow" account) | ||
- open the lambda (`pinboard-users-refresher-lambda-PROD` or `pinboard-users-refresher-lambda-CODE`) from the list | ||
- from the _Test_ tab, use the "Test" button to invoke the function (the payload sent to the lambda should be an empty object) |