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

Add EventBridge infrastructure #107

Merged
merged 4 commits into from
Feb 14, 2024
Merged

Add EventBridge infrastructure #107

merged 4 commits into from
Feb 14, 2024

Conversation

gregtyler
Copy link
Contributor

Includes:

  • Event bus in LPA Store account
  • Cross-account rule to send all locally-sourced events to the Sirius event bus
  • Dead letter-queue to catch events that couldn't be sent

Fixes VEGA-2333 #minor

Includes:
- Event bus in LPA Store account
- Cross-account rule to send all locally-sourced events to the Sirius event bus
- Dead letter-queue to catch events that couldn't be sent

Fixes VEGA-2333 #minor
So that the GitHub Action fails

#patch
So that they can send messages to EventBridge

#patch
Existing issue in production, spotted now that the integration test fails the action.

#minor
@gregtyler
Copy link
Contributor Author

Tested in a popup environment with the code:

l.eb.PutEvents(&eventbridge.PutEventsInput{
	Entries: []*eventbridge.PutEventsRequestEntry{
		{
			EventBusName: aws.String(os.Getenv("EVENT_BUS_NAME")),
			DetailType:   aws.String("test"),
			Source:       aws.String("opg.poas.lpastore"),
			Detail:       aws.String("{\"ok\": true}"),
		},
	},
})

@gregtyler gregtyler merged commit edf5714 into main Feb 14, 2024
22 checks passed
@gregtyler gregtyler deleted the VEGA-2333-add-eventbridge branch February 14, 2024 10:28
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.

2 participants