Test Deploy this API Gateway + Lambda in your AWS account to get notified of executions on Adobe Cloudmanager. Notifications will be sent to both email, and MS Teams.
This can be extended to implement more functionalities like auto-approve, auto-reject pending executions etc.
Deploying this stack will create a new api endpoint, which needs to be added to the Adobe I/O console to complete the setup.
More details - https://abiydv.github.io/posts/adobe-io-cloudmanager-api
- AWS CLI (preferably v2)
- Serverless framework
- Adobe I/O Cloudmanager project
- MS Teams incoming webhook
- AWS Account with -
- Custom domain on Route 53 and ACM cert for the domain
- SES configured to send emails
- S3 bucket to use
- Adobe I/O keys saved in SSM
-
Create and activate virtual environment
$ python -m venv env $ source env/bin/activate
-
Install dependencies
(env) $ pip install -r requirements.txt
-
Format, lint, run tests, check coverage reports etc.
(env) $ black src/*.py (env) $ flake8 (env) $ pytest (env) $ coverage run -m pytest (env) $ coverage html
-
Export the credentials as environment variables. Either the access/secret keys or the aws cli profile
-
Deploy/Update the service to AWS
sls deploy
-
Configure the new domain endpoint (
https://example.com/adobe
) after deployment in the Adobe I/O console. -
Adobe I/O will trigger a test request and if it returns
200
, the status of the webhook will be changed toACTIVE
- Remove the service
sls remove