Refactor Name functions and add aws iam Functionality #33
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This pull request standardizes the function definitions across multiple shell scripts by explicitly using the
function
keyword. Additionally, it introduces new utility functions for AWS IAM, logging, and other AWS services, enhancing functionality and user interaction. Below is a categorized summary of the most important changes:Standardization of Function Definitions
common/common.sh
,common/logging.sh
,common/peco.sh
,services/assume_role.sh
,services/iam.sh
, andservices/logs.sh
to explicitly use thefunction
keyword for consistency. [1] [2] [3] [4] [5] [6]Enhancements to AWS IAM Functionality
aws_iam_user_list_policies
,aws_iam_user_list_policies_with_hint
, andaws_iam_user_list_policies_all
.aws_iam_user_list_access_keys_with_hint
for listing IAM user access keys interactively usingpeco
.Improvements to AWS Logging
aws_logs_rm_group_instruction
andaws_logs_rm_group_instruction_with_hint
to generate and interactively select commands for deleting AWS CloudWatch log groups.New Interactive Peco Menus for AWS Services
peco_aws_iam_user_list
,peco_aws_iam_group_list
,peco_aws_iam_policy_list
, andpeco_aws_iam_instance_profile_list
for interactively selecting IAM entities.peco
functions to support additional AWS services, including CloudFormation, DynamoDB, and SQS.Additional Utility Functions
aws_assume_role_set_name_with_hint
inservices/assume_role.sh
for setting assume role names interactively.These changes improve code consistency, enhance user interaction via
peco
, and expand the functionality of AWS-related scripts.