AWS Security Agent create-pentest only accepts one subnet
1 min read
Hit this during authentication flow verification. Passed multiple subnets to create-pentest --vpc-config:
ValidationException: Maximum of 1 subnet id is allowedThe CLI schema defines subnetArns as a list, but the API only accepts one. Note that update-agent-space does accept multiple subnets in awsResources.vpcs[].subnetArns — this restriction is specific to pentest creation. Just use the same subnet as your EC2 target.
