Skip to content

Instantly share code, notes, and snippets.

View ankushnagpal10's full-sized avatar

Ankush Nagpal ankushnagpal10

View GitHub Profile
#!/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."
@ankushnagpal10
ankushnagpal10 / aws_resource_list.sh
Created April 30, 2025 16:45 — forked from iam-veeramalla/aws_resource_list.sh
Script to automate the process of listing all the resources in an AWS account
#!/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