With this commit, both the AWS and GCP scripts ...
Use similar output formatting
Pass shellcheck testing
Implement shellspec testing
Document (in comments) spec testing and script usage
Renames the spec test files to eliminate a redundancy
Motivation and Context
In addition, the AWS script ...
Correctly skips a member account when assume role fails
(caused by a return in a function not resulting in a continue in a calling loop)
Description
With this commit, both the AWS and GCP scripts ...
Use similar output formatting Pass shellcheck testing Implement shellspec testing Document (in comments) spec testing and script usage Renames the spec test files to eliminate a redundancy
Motivation and Context
In addition, the AWS script ...
Correctly skips a member account when assume role fails (caused by a return in a function not resulting in a continue in a calling loop)
How Has This Been Tested?
Tested with ...
shellspec spec/resource-count-aws.sh shellspec spec/resource-count-gcp.sh
Types of changes
Checklist