We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3b46ed5 commit 52d09b1Copy full SHA for 52d09b1
modules/integrations/event-bridge/organizational.tf
@@ -4,14 +4,6 @@
4
# For a single account installation, see main.tf.
5
#-----------------------------------------------------------------------------------------------------------------------
6
7
-data "aws_organizations_organization" "org" {
8
- count = var.is_organizational ? 1 : 0
9
-}
10
-
11
-locals {
12
- organizational_unit_ids = var.is_organizational && length(var.org_units) == 0 ? [for root in data.aws_organizations_organization.org[0].roots : root.id] : toset(var.org_units)
13
14
15
# stackset to deploy eventbridge rule in organization unit
16
resource "aws_cloudformation_stack_set" "eb-rule-stackset" {
17
count = var.is_organizational ? 1 : 0
0 commit comments