File tree Expand file tree Collapse file tree 3 files changed +9
-9
lines changed
modules/integrations/pub-sub Expand file tree Collapse file tree 3 files changed +9
-9
lines changed Original file line number Diff line number Diff line change 1- output "webhook_datasource_component_id " {
1+ output "pubsub_datasource_component_id " {
22 value = " ${ sysdig_secure_cloud_auth_account_component . gcp_webhook_datasource . type } /${ sysdig_secure_cloud_auth_account_component . gcp_webhook_datasource . instance } "
33 description = " Component identifier of Webhook Datasource integration created in Sysdig Backend for Log Ingestion"
44 depends_on = [sysdig_secure_cloud_auth_account_component . gcp_webhook_datasource ]
Original file line number Diff line number Diff line change 33# installing additional Sysdig features.
44# ---------------------------------------------------------------------------------------------
55
6- module "webhook-datasource " {
6+ module "pub-sub " {
77 source = " ../../../modules/integrations/pub-sub"
88 project_id = module. onboarding . project_id
99 is_organizational = module. onboarding . is_organizational
@@ -15,14 +15,14 @@ resource "sysdig_secure_cloud_auth_account_feature" "threat_detection" {
1515 account_id = module. onboarding . sysdig_secure_account_id
1616 type = " FEATURE_SECURE_THREAT_DETECTION"
1717 enabled = true
18- components = [ module . webhook-datasource . webhook_datasource_component_id ]
19- depends_on = [ module . webhook-datasource ]
18+ components = [ module . pub-sub . pubsub_datasource_component_id ]
19+ depends_on = [ module . pub-sub ]
2020}
2121
2222resource "sysdig_secure_cloud_auth_account_feature" "identity_entitlement" {
2323 account_id = module. onboarding . sysdig_secure_account_id
2424 type = " FEATURE_SECURE_IDENTITY_ENTITLEMENT"
2525 enabled = true
26- components = [module . webhook-datasource . webhook_datasource_component_id ]
26+ components = [module . pub-sub . pubsub_datasource_component_id ]
2727 depends_on = [sysdig_secure_cloud_auth_account_feature . config_posture , sysdig_secure_cloud_auth_account_feature . threat_detection ]
2828}
Original file line number Diff line number Diff line change 33# installing additional Sysdig features.
44# ---------------------------------------------------------------------------------------------
55
6- module "webhook-datasource " {
6+ module "pub-sub " {
77 source = " ../../../modules/integrations/pub-sub"
88 project_id = module. onboarding . project_id
99 sysdig_secure_account_id = module. onboarding . sysdig_secure_account_id
@@ -13,14 +13,14 @@ resource "sysdig_secure_cloud_auth_account_feature" "threat_detection" {
1313 account_id = module. onboarding . sysdig_secure_account_id
1414 type = " FEATURE_SECURE_THREAT_DETECTION"
1515 enabled = true
16- components = [ module . webhook-datasource . webhook_datasource_component_id ]
17- depends_on = [ module . webhook-datasource ]
16+ components = [ module . pub-sub . pubsub_datasource_component_id ]
17+ depends_on = [ module . pub-sub ]
1818}
1919
2020resource "sysdig_secure_cloud_auth_account_feature" "identity_entitlement" {
2121 account_id = module. onboarding . sysdig_secure_account_id
2222 type = " FEATURE_SECURE_IDENTITY_ENTITLEMENT"
2323 enabled = true
24- components = [module . webhook-datasource . webhook_datasource_component_id ]
24+ components = [module . pub-sub . pubsub_datasource_component_id ]
2525 depends_on = [sysdig_secure_cloud_auth_account_feature . config_posture , sysdig_secure_cloud_auth_account_feature . threat_detection ]
2626}
You can’t perform that action at this time.
0 commit comments