You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In aws_eventbridge_rule, we're not able to pass event bus other than default event bus
Describe the problem
Trying to validate event rule resource, it appears that it can't specify event bus, which leads to the failure
aws_cloudwatch_event_rule_name = attribute('cloudwatch_event_rule_name')
control 'aws-event-rule' do
impact 1.0
title 'Ensure AWS Event Rule has the correct properties.'
describe aws_eventbridge_rule(name: aws_cloudwatch_event_rule_name) do
it { should exist }
end
end
Actual Result
[2022-11-05T10:41:00+08:00] WARN: AWS Service Error encountered running a control with Resource aws_eventbridge_rule. Error message: Rule sample-event-rule does not exist on EventBus default.. You should address this error to ensure your controls are behaving as expected.
× aws-event-rule: Ensure AWS Event Rule has the correct properties.
× Rule Name: sample-event-rule is expected to exist
expected Rule Name: sample-event-rule
Possible Solution
The text was updated successfully, but these errors were encountered:
In aws_eventbridge_rule, we're not able to pass event bus other than default event bus
Describe the problem
Trying to validate event rule resource, it appears that it can't specify event bus, which leads to the failure
Actual Result
Possible Solution
The text was updated successfully, but these errors were encountered: