From 5aae2c2b5d3567118ae9002a45d242e47e1a44e7 Mon Sep 17 00:00:00 2001 From: Lei Jin <166442440+leijin-lw@users.noreply.github.com> Date: Mon, 9 Dec 2024 11:28:41 -0800 Subject: [PATCH] Remove the regional agentless option in main account --- lwgenerate/aws/aws.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lwgenerate/aws/aws.go b/lwgenerate/aws/aws.go index fbb8c9ecb..8c5e70185 100644 --- a/lwgenerate/aws/aws.go +++ b/lwgenerate/aws/aws.go @@ -1368,7 +1368,7 @@ func createAgentless(args *GenerateAwsTfConfigurationArgs) ([]*hclwrite.Block, e "lacework_aws_agentless_scanning_global", lwgenerate.AwsAgentlessSource, lwgenerate.HclModuleWithVersion(lwgenerate.AwsAgentlessVersion), - lwgenerate.HclModuleWithAttributes(map[string]interface{}{"global": true, "regional": true}), + lwgenerate.HclModuleWithAttributes(map[string]interface{}{"global": true}), lwgenerate.HclModuleWithProviderDetails( map[string]string{"aws": "aws.main"}, ),