File tree Expand file tree Collapse file tree 2 files changed +3
-8
lines changed
modules/integrations/cross-account-event-bridge Expand file tree Collapse file tree 2 files changed +3
-8
lines changed Original file line number Diff line number Diff line change @@ -27,9 +27,9 @@ data "sysdig_secure_tenant_external_id" "external_id" {}
27
27
# -----------------------------------------------------------------------------------------
28
28
locals {
29
29
region_set = toset (var. regions )
30
- trusted_identity = var . is_gov_cloud_onboarding ? data. sysdig_secure_trusted_cloud_identity . trusted_identity . gov_identity : data . sysdig_secure_trusted_cloud_identity . trusted_identity . identity
31
- target_event_bus_arn = var . is_gov_cloud_onboarding ? data. sysdig_secure_cloud_ingestion_assets . assets . aws . eventBusARNGov : data . sysdig_secure_cloud_ingestion_assets . assets . aws . eventBusARN
32
- arn_prefix = var . is_gov_cloud_onboarding ? " arn:aws-us-gov" : " arn:aws "
30
+ trusted_identity = data. sysdig_secure_trusted_cloud_identity . trusted_identity . gov_identity
31
+ target_event_bus_arn = data. sysdig_secure_cloud_ingestion_assets . assets . aws . eventBusARNGov
32
+ arn_prefix = " arn:aws-us-gov"
33
33
}
34
34
35
35
# -----------------------------------------------------------------------------------------
Original file line number Diff line number Diff line change @@ -106,11 +106,6 @@ variable "sysdig_secure_account_id" {
106
106
description = " ID of the Sysdig Cloud Account to enable Event Bridge integration for (incase of organization, ID of the Sysdig management account)"
107
107
}
108
108
109
- variable "is_gov_cloud_onboarding" {
110
- type = bool
111
- default = false
112
- description = " true/false whether EventBridge should be deployed in a govcloud account/org or not"
113
- }
114
109
variable "include_ouids" {
115
110
description = " (Optional) ouids to include for organization"
116
111
type = set (string )
You can’t perform that action at this time.
0 commit comments