This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# Variables | |
JENKINS_HOME="/var/lib/jenkins" # Replace with your Jenkins home directory | |
S3_BUCKET="s3://your-s3-bucket-name" # Replace with your S3 bucket name | |
DATE=$(date +%Y-%m-%d) # Today's date | |
# Check if AWS CLI is installed | |
if ! command -v aws &> /dev/null; then | |
echo "AWS CLI is not installed. Please install it to proceed." |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
############################################################################### | |
# Author: Abhishek Veeramalla | |
# Version: v0.0.1 | |
# Script to automate the process of listing all the resources in an AWS account | |
# | |
# Below are the services that are supported by this script: | |
# 1. EC2 |