Skip to content

cli: --exclude-services does not seem to work #384

@dietmar-mueller

Description

@dietmar-mueller

i query several regions via cli and have hang-ups in some regions. to ensure that the jobs are finalized, i monitor the jobs and their output (debug) and exclude the service that was last logged.

this is the procedure

if i then exclude this problematic service with the parameter: --exclude-services, i still see requests for this service in the log and at the end the command gets stuck at this point again

the complete call is

node former2.cli\cli\main.js generate --region ap-south-1 --output-cloudformation ap-south-1.yaml --debug --exclude-services “EC2”

the last outputs in the log are:

1726740148288: sdkcall : EC2.getManagedPrefixListEntries - {“PrefixListId”: “pl-78a54011”}
1726740148290: sdkcall : EC2.getManagedPrefixListEntries - {“PrefixListId”: “pl-9aa247f3”}
1726740148952: sdkcall : EC2.describeCarrierGateways - {}
1726740149579: sdkcall : NetworkFirewall.listFirewalls - {}
Skipping NetworkFirewall.listFirewalls AccessDeniedException
1726740150222: sdkcall : NetworkFirewall.listFirewallPolicies - {}
Skipping NetworkFirewall.listFirewallPolicies AccessDeniedException
1726740150831: sdkcall : NetworkFirewall.listRuleGroups - {}
Skipping NetworkFirewall.listRuleGroups AccessDeniedException
1726740151453: sdkcall : EC2.describeNetworkInsightsPaths - {}
1726740152089: sdkcall : EC2.describeNetworkInsightsAnalyses - {}
1726740152708: sdkcall : EC2.describeTransitGatewayMulticastDomains - {}
1726740153321: sdkcall : EC2.describeTransitGatewayConnects - {}
1726740154026: sdkcall : EC2.describeTransitGatewayPeeringAttachments - {}
1726740154630: sdkcall : EC2.describeNetworkInsightsAccessScopes - {}
1726740155259: sdkcall : EC2.describeNetworkInsightsAccessScopes - {}
████████████████████████████████████████ 99% (146/147 services completed)

i have already tried different positions of this --exclude-services parameter.
i checked the call via powershell and cmd and saw the same behavior (i cross-checked this because of the masking of the argument)

based on the last debug output

1726740155259: sdkcall : EC2.describeNetworkInsightsAccessScopes

I interpret EC2 as a valid service name

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions