Skip to content

FMI-Test/aws.org

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

230 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

AWS Org

# Setup AWS Connection
exe/get-sts.sh 

Install AWS CLI V2

Install AWS CLI V2

Install Boto3

Install Boto3

Setup Virtual Environemnt

# Run Below Outside of src/ 
# Install pyenv
brew install pyenv

# Install Python 3.12.4
pyenv install 3.12.4

# Create a new virtual environment using Python 3.12.4
/Users/bamdad/.pyenv/versions/3.12.4/bin/python -m venv venv 

# Activate virtual environment
source venv/bin/activate

# Upgrade pip
pip install --upgrade pip

# Install requirements
pip install -r src/requirements.txt

# check venv
pip -V

# deactivate venv
deactivate

# Check System aliases
alias

Lint & Debug

# List missing ### doctring trail
cat incl.sh | grep '# usage:' | grep -v '###'

# List UNITTEST Items
cat incl.sh | grep -n -A1 'ppwide' | grep  -A1 'UNITTEST'

# List Functions
cat inc.aws.sh | grep '() ' | tr -d '(){' | awk '{print $2}'

# List Function Array
cat inc.aws.sh | grep '() ' | tr -d '(){' | awk '{print $2}' | tr '\n' ' '

Config

See below & requirements.txt.

Platform & OS : x86_64, OSX, Darwin Kernel Version 22.6.0
Shell         : /bin/zsh
Bash Version  : GNU bash, version 5.2.15(1)-release (x86_64-apple-darwin22.1.0)
Zsh Version   : zsh 5.9 (x86_64-apple-darwin22.0)
Python & Pip  : Python 3.11.2, pip 23.2

Misc

Grep

# Match A & B & C ... start with 'function ' & has 'aws' & has '()
cat incl.sh | grep '^function .*aws.*()'

 ### Grep Get Groups
cat ~/www/aws.org/incl.sh | grep -n '^## ' 

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors