Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feat/event bus #528

Open
wants to merge 9 commits into
base: master
Choose a base branch
from
Open

Feat/event bus #528

wants to merge 9 commits into from

Conversation

StewartW
Copy link
Contributor

@StewartW StewartW commented Sep 8, 2022

Issue #, if available:

Description of changes:
Introduces an Event Bus to the root account, in the primary region. (us-east-1 if the aws parititon, us-gov-west-1, if the aws-gov partition.)
Instruments the account management lambda functions and state machine to emit events on certain actions.
Event Bus Policy allows any role within the deployment account and within the adf-automation path to putEvents onto the EventBus.

This enables the Pipeline Management Lambda Functions to push events as well.

Also introduces a new layer for the pipeline management lambda functions that contains the pip installed dependencies and a new aws-xray-sdk requirement, which enables tracing of the lambda functions themselves.

By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

@StewartW StewartW added this to the v3.2.1 milestone Sep 8, 2022
Ignoring check I3042 for cfn-lint

Adding in EventBus to deployment account

Adding in x-ray tracing to pipeline management lambda functions

Changing event content, adding in xray layer to pipeline management lambda functions

Documentation

Mega Lint Fixes

Forgot to hit save :(
@StewartW StewartW marked this pull request as ready for review September 8, 2022 12:23
docs/integrations-guide.md Outdated Show resolved Hide resolved
docs/integrations-guide.md Outdated Show resolved Hide resolved
docs/integrations-guide.md Outdated Show resolved Hide resolved
docs/integrations-guide.md Outdated Show resolved Hide resolved
src/lambda_codebase/account_processing/create_account.py Outdated Show resolved Hide resolved
@javydekoning
Copy link
Contributor

Please pull in latest commits from master branch. The new linters will catch some issues like max line length.

@StewartW
Copy link
Contributor Author

Hey @javydekoning Are we allowed to run black now those linter changes are in master? I've always held off using it

@javydekoning
Copy link
Contributor

Hey @javydekoning Are we allowed to run black now those linter changes are in master? I've always held off using it

There is no "black" linter yet. However, we are now enforcing a max line length via editorconf. Reformatting the file using black should already help you there and make these long lines a bit easier to read.

@sbkok sbkok modified the milestones: v3.2.2, v3.3.0 Jan 27, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants