Skip to content

Commit 6abc81c

Browse files
committed
remove is_gov_cloud_onboarding cause it's always gov
1 parent fa56590 commit 6abc81c

File tree

2 files changed

+3
-8
lines changed

2 files changed

+3
-8
lines changed

modules/integrations/cross-account-event-bridge/main.tf

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -27,9 +27,9 @@ data "sysdig_secure_tenant_external_id" "external_id" {}
2727
#-----------------------------------------------------------------------------------------
2828
locals {
2929
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"
3333
}
3434

3535
#-----------------------------------------------------------------------------------------

modules/integrations/cross-account-event-bridge/variables.tf

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -106,11 +106,6 @@ variable "sysdig_secure_account_id" {
106106
description = "ID of the Sysdig Cloud Account to enable Event Bridge integration for (incase of organization, ID of the Sysdig management account)"
107107
}
108108

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-
}
114109
variable "include_ouids" {
115110
description = "(Optional) ouids to include for organization"
116111
type = set(string)

0 commit comments

Comments
 (0)