Skip to content

Commit 780d3b4

Browse files
authored
fix: reduce validation on event notifications for solution (#184)
1 parent 7a98602 commit 780d3b4

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

solutions/standard/main.tf

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,6 @@ locals {
66
validate_resource_group = (var.existing_secrets_manager_crn == null && var.resource_group_name == null) ? tobool("Resource group name can not be null if existing secrets manager CRN is not set.") : true
77
# tflint-ignore: terraform_unused_declarations
88
validate_event_notifications = (var.existing_event_notification_instance_crn == null && var.enable_event_notification) ? tobool("To enable event notifications, an existing event notifications CRN must be set.") : true
9-
# tflint-ignore: terraform_unused_declarations
10-
validate_event_notifications_disabled = (var.existing_event_notification_instance_crn != null && !var.enable_event_notification) ? tobool("When an existing event notifications CRN is set, enable_event_notification should be true.") : true
119
}
1210

1311
module "resource_group" {

0 commit comments

Comments
 (0)