Skip to content

Commit a4641ff

Browse files
SSPROD-55652 - feat: add support for include/exclude params
1 parent dbb9489 commit a4641ff

File tree

1 file changed

+10
-1
lines changed

1 file changed

+10
-1
lines changed

test/examples/modular_organization/onboarding_with_posture.tf

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,15 @@ module "onboarding" {
2222
project_id = "org-child-project-3"
2323
is_organizational = true
2424
organization_domain = "draios.com"
25+
26+
# legacy include/exclude org install params
27+
# management_group_ids = ["folders/123456789012"]
28+
29+
# include/exclude parameters
30+
include_folders = ["folders/123456789012"]
31+
exclude_folders = []
32+
include_projects = ["<project-id-1>", "<project-id-2>"]
33+
exclude_projects = ["<project-id-3>", "<project-id-4>"]
2534
}
2635

2736
module "config-posture" {
@@ -47,7 +56,7 @@ resource "sysdig_secure_cloud_auth_account_feature" "identity_entitlement_basic"
4756
components = [module.config-posture.service_principal_component_id]
4857
depends_on = [module.config-posture, sysdig_secure_cloud_auth_account_feature.config_posture]
4958
flags = {
50-
"CIEM_FEATURE_MODE": "basic"
59+
"CIEM_FEATURE_MODE" : "basic"
5160
}
5261

5362
lifecycle {

0 commit comments

Comments
 (0)