1
0
mirror of https://github.com/ansible/awx.git synced 2024-10-26 16:25:06 +03:00
awx/awx_collection/plugins
Ethem Cem Özkan 37ad690d09
Add AWS SNS notification support for webhook (#15184)
Support for AWS SNS notifications. SNS is a widespread service that is used to integrate with other AWS services(EG lambdas). This support would unlock use cases like triggering lambda functions, especially when AWX is deployed on EKS.

Decisions:

Data Structure
- I preferred using the same structure as Webhook for message body data because it contains all job details. For now, I directly linked to Webhook to avoid duplication, but I am open to suggestions.

AWS authentication
- To support non-AWS native environments, I added configuration options for AWS secret key, ID, and session tokens. When entered, these values are supplied to the underlining boto3 SNS client. If not entered, it falls back to the default authentication chain to support the native AWS environment. Properly configured EKS pods are created with temporary credentials that the default authentication chain can pick automatically.

---------

Signed-off-by: Ethem Cem Ozkan <ethemcem.ozkan@gmail.com>
2024-06-02 02:48:56 +00:00
..
doc_fragments Add Request time out option for collection (#14157) 2023-08-03 15:06:04 -03:00
inventory Run collection sanity tests in CI (#13356) 2022-12-20 16:06:25 -05:00
lookup Schedule rruleset fix related #13446 (#13611) 2023-08-16 16:10:31 -03:00
module_utils use optional api prefix in collection if set as environ vairable (#15205) 2024-05-29 11:54:05 -04:00
modules Add AWS SNS notification support for webhook (#15184) 2024-06-02 02:48:56 +00:00