Skip to content

Conversation

Engerim
Copy link
Contributor

@Engerim Engerim commented Jan 16, 2025

Description

  1. Fixes policy creation for step function enrichment
  2. Adds a new variable to allow to create only the event bridge pipe role

Motivation and Context

The new variable allows to create the iam role only for pipe, for the cases where nothing else is created besides pipes, as for now you would end up with an additional role which is not needed

Breaking Changes

How Has This Been Tested?

  • I have updated at least one of the examples/* to demonstrate and validate my change(s)
  • I have tested and validated these changes using one or more of the provided examples/* projects
  • I have executed pre-commit run -a on my pull request

@Engerim Engerim changed the title fix: step function enrichment fix: Step function enrichment Jan 16, 2025
@Engerim
Copy link
Contributor Author

Engerim commented Jan 23, 2025

@antonbabenko could you have a look, please

@@ -33,7 +33,7 @@ locals {
matching_services = ["lambda"]
},
step_functions = {
values = [v.target, try(aws_cloudwatch_event_api_destination.this[v.enrichment].arn, null)],
values = [v.target, try(v.enrichment, null)],
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why do you change this?

Copy link
Contributor Author

@Engerim Engerim Jan 23, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

because the matching service is states and that can never be fulfilled by an api destination.

Co-authored-by: Anton Babenko <[email protected]>
@antonbabenko antonbabenko merged commit 8e1c345 into terraform-aws-modules:master Jan 28, 2025
15 checks passed
antonbabenko pushed a commit that referenced this pull request Jan 28, 2025
## [3.14.3](v3.14.2...v3.14.3) (2025-01-28)

### Bug Fixes

* Step function enrichment ([#149](#149)) ([8e1c345](8e1c345))
@antonbabenko
Copy link
Member

This PR is included in version 3.14.3 🎉

Copy link

I'm going to lock this pull request because it has been closed for 30 days ⏳. This helps our maintainers find and focus on the active issues. If you have found a problem that seems related to this change, please open a new issue and complete the issue template so we can capture all the details necessary to investigate further.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Feb 28, 2025
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants