Skip to content

Commit 4567ffd

Browse files
Add support to enable/disable automatic onboarding with Orgs (#63)
1 parent 650f60d commit 4567ffd

File tree

3 files changed

+8
-0
lines changed

3 files changed

+8
-0
lines changed

modules/onboarding/README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -69,6 +69,7 @@ No modules.
6969
| <a name="input_exclude_ouids"></a> [exclude\_ouids](#input\_exclude\_ouids) | ouids to exclude for organization | `set(string)` | `[]` | no |
7070
| <a name="input_include_accounts"></a> [include\_accounts](#input\_include\_accounts) | accounts to include for organization | `set(string)` | `[]` | no |
7171
| <a name="input_exclude_accounts"></a> [exclude\_accounts](#input\_exclude\_accounts) | accounts to exclude for organization | `set(string)` | `[]` | no |
72+
| <a name="input_enable_automatic_onboarding"></a> [enable\_automatic\_onboarding](#input\_enable\_automatic\_onboarding) | true/false whether whether Sysdig should automatically discover latest set of accounts in onboarded organization or not | `bool` | `false` | no |
7273

7374
## Outputs
7475

modules/onboarding/organizational.tf

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -86,4 +86,5 @@ resource "sysdig_secure_organization" "aws_organization" {
8686
excluded_organizational_groups = local.check_old_ouid_param ? [] : var.exclude_ouids
8787
included_cloud_accounts = local.check_old_ouid_param ? [] : var.include_accounts
8888
excluded_cloud_accounts = local.check_old_ouid_param ? [] : var.exclude_accounts
89+
automatic_onboarding = var.enable_automatic_onboarding
8990
}

modules/onboarding/variables.tf

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -80,3 +80,9 @@ variable "exclude_accounts" {
8080
type = set(string)
8181
default = []
8282
}
83+
84+
variable "enable_automatic_onboarding" {
85+
type = bool
86+
default = false
87+
description = "true/false whether Sysdig should automatically discover latest set of accounts in onboarded organization or not"
88+
}

0 commit comments

Comments
 (0)