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: Allow to pass prefix for rule names #2437

Conversation

omerlh
Copy link
Contributor

@omerlh omerlh commented Jan 31, 2023

Description

Added variable to control the prefix used for event bridge rules.

Motivation and Context

We are trying to use ABAC to control permissions of our CI/CD, using ResourceTag IAM condition wherever possible. It seems that EventBridge IAM permissions does not allow that so I would like to limit permissions by resource ARN, and for that I would like to control the prefix used for all rules - so I could give our CI/CD tool permissions to control only rules matching this prefix.

Breaking Changes

How Has This Been Tested?

(Still testing, opened for feedback because it's my first PR)

  • 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

@omerlh omerlh changed the title feat: allow to pass prefix for rule names feat: Allow to pass prefix for rule names Feb 1, 2023
@omerlh omerlh force-pushed the feat/rule-name-prefix-support branch from c26e178 to 41e4cee Compare February 1, 2023 08:25
@omerlh omerlh marked this pull request as ready for review February 1, 2023 08:25
@omerlh omerlh force-pushed the feat/rule-name-prefix-support branch from 41e4cee to bab5cca Compare February 5, 2023 08:11
@omerlh omerlh force-pushed the feat/rule-name-prefix-support branch from bab5cca to 4d99f04 Compare February 7, 2023 06:28
@bryantbiggs bryantbiggs merged commit 68fe60f into terraform-aws-modules:master Feb 7, 2023
antonbabenko pushed a commit that referenced this pull request Feb 7, 2023
## [19.7.0](v19.6.0...v19.7.0) (2023-02-07)

### Features

* Allow to pass prefix for rule names ([#2437](#2437)) ([68fe60f](68fe60f))
@antonbabenko
Copy link
Member

This PR is included in version 19.7.0 🎉

@github-actions
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 Mar 10, 2023
@omerlh omerlh deleted the feat/rule-name-prefix-support branch March 12, 2023 05:06
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.

3 participants