diff --git a/cli/cmd/generate_aws_controltower.go b/cli/cmd/generate_aws_controltower.go index 5fa7b069d..ffd5f8d34 100644 --- a/cli/cmd/generate_aws_controltower.go +++ b/cli/cmd/generate_aws_controltower.go @@ -350,7 +350,7 @@ func initGenerateAwsControlTowerTfCommandFlags() { generateAwsControlTowerTfCommand.PersistentFlags().StringVar( &GenerateAwsControlTowerCommandState.OrgAccountMappingsJson, "org_account_mapping", "", `Org account mapping json string. Example: -''{"default_lacework_account":"main",`+ +'{"default_lacework_account":"main",`+ `"mapping": [{ "aws_accounts": ["123456789011"], "lacework_account": "sub-account-1"}]}'`) generateAwsControlTowerTfCommand.PersistentFlags().StringVar( diff --git a/integration/test_resources/help/generate_cloud-account_aws_controltower b/integration/test_resources/help/generate_cloud-account_aws_controltower index aa0768797..1716e0378 100644 --- a/integration/test_resources/help/generate_cloud-account_aws_controltower +++ b/integration/test_resources/help/generate_cloud-account_aws_controltower @@ -31,7 +31,7 @@ Flags: --lacework_aws_account_id string the Lacework AWS root account id --log_archive_account string The log archive account flag input in the format profile:region --org_account_mapping string Org account mapping json string. Example: - ''{"default_lacework_account":"main","mapping": [{ "aws_accounts": ["123456789011"], "lacework_account": "sub-account-1"}]}' + '{"default_lacework_account":"main","mapping": [{ "aws_accounts": ["123456789011"], "lacework_account": "sub-account-1"}]}' --output string location to write generated content --prefix string specify the prefix that will be used at the beginning of every generated resource --s3_bucket_arn string the S3 Bucket for consolidated CloudTrail