Skip to content

Commit 8d1aa4a

Browse files
authored
Added Enabled Parameter to aws-saml/okta-user and datadog-synthetics-private-location (cloudposse/terraform-aws-components#805)
1 parent 7f87adc commit 8d1aa4a

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/main.tf

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,8 @@ module "roles_to_principals" {
1717
}
1818

1919
resource "datadog_synthetics_private_location" "private_location" {
20+
count = local.enabled ? 1 : 0
21+
2022
name = module.this.id
2123
description = coalesce(var.private_location_description, format("Private location for %s", module.this.id))
2224
tags = module.datadog_configuration.datadog_tags

0 commit comments

Comments
 (0)