CrowdStrike / cloud-resource-estimator

Cloud deployment size calculation utilities
The Unlicense
17 stars 19 forks source link

Add AWS_ASSUME_ROLE_NAME environment variable support to benchmark.sh #30

Closed carlosmmatos closed 1 year ago

carlosmmatos commented 1 year ago

fixes #26

This pull request updates the benchmark.sh script to support the AWS_ASSUME_ROLE_NAME environment variable, allowing users to assume a specific AWS role when running the benchmark calculations.

Changes:

Usage example:

export AWS_ASSUME_ROLE_NAME=my_role_name
curl https://raw.githubusercontent.com/CrowdStrike/falcon-benchmark/main/benchmark.sh | bash -s -- aws

With these changes, users can now pass the AWS_ASSUME_ROLE_NAME environment variable to the script, allowing them to assume the specified AWS role for benchmark calculations.