-
Notifications
You must be signed in to change notification settings - Fork 3
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
conditionally create SecurityHub alerting resources #650
Conversation
|
…ble for Terratest
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
This PR updates the securityhub module to ensure that certain resources, including CloudWatch Event Rules, SNS Topics, and KMS keys, are only created in the
eu-west-2
region. The conditional creation is controlled by adding asechub_alerting_region
variable to the module and using count attributes for resources that should only exist ineu-west-2
.